diff options
author | Anders Carlsson <andersca@mac.com> | 2009-09-09 02:51:03 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-09-09 02:51:03 +0000 |
commit | 71d1d92d3728302dcd64a657bcded445eb3d9b77 (patch) | |
tree | 86f856207a8ccbc2d473f944a7df94a245ca6b57 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | d556bc48d7b2a7792bcd908ed278c9cbe81b99f5 (diff) | |
download | bcm5719-llvm-71d1d92d3728302dcd64a657bcded445eb3d9b77.tar.gz bcm5719-llvm-71d1d92d3728302dcd64a657bcded445eb3d9b77.zip |
Make BuildByRefType take a ValueDecl instead of a QualType and an alignment.
llvm-svn: 81315
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index d7f9ec2812d..063ebf92de2 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -343,8 +343,7 @@ public: 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); |