aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-09-09 02:51:03 +0000
committerAnders Carlsson <andersca@mac.com>2009-09-09 02:51:03 +0000
commit9ad5513b0f9d3999705659fb1aeb0e6c53455f43 (patch)
tree99f07d766725dcb18a205560930b8b274d3c81f5 /lib/CodeGen/CodeGenFunction.h
parent3dab34a7cb5e2ad9c2311fc44b3d3b7ebb540992 (diff)
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
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index d7f9ec2812..063ebf92de 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/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);