Make BuildByRefType take a ValueDecl instead of a QualType and an alignment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81315 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index d7f9ec2..063ebf9 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -343,8 +343,7 @@
llvm::Value *LoadBlockStruct();
llvm::Value *GetAddrOfBlockDecl(const BlockDeclRefExpr *E);
-
- const llvm::Type *BuildByRefType(QualType Ty, uint64_t Align);
+ const llvm::Type *BuildByRefType(const ValueDecl *D);
void GenerateCode(const FunctionDecl *FD,
llvm::Function *Fn);