From 71d1d92d3728302dcd64a657bcded445eb3d9b77 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Wed, 9 Sep 2009 02:51:03 +0000 Subject: Make BuildByRefType take a ValueDecl instead of a QualType and an alignment. llvm-svn: 81315 --- clang/lib/CodeGen/CodeGenFunction.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'clang/lib/CodeGen/CodeGenFunction.h') 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); -- cgit v1.2.3