summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBlocks.h
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2010-12-02 17:02:11 +0000
committerFariborz Jahanian <fjahanian@apple.com>2010-12-02 17:02:11 +0000
commit50198098b95d30dc027ac4f89e77a727b3a25635 (patch)
tree1875532a6823644b38abf9b54591ade6b53b0383 /clang/lib/CodeGen/CGBlocks.h
parent1596c4531b3950f4c883013cb51182ad40884633 (diff)
downloadbcm5719-llvm-50198098b95d30dc027ac4f89e77a727b3a25635.tar.gz
bcm5719-llvm-50198098b95d30dc027ac4f89e77a727b3a25635.zip
IR Gen. part of API support for __block cxx
objects imported into blocks. //rdar://8594790. Will have a test case coming (as well as one sent to llvm test suite). llvm-svn: 120713
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.h')
-rw-r--r--clang/lib/CodeGen/CGBlocks.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.h b/clang/lib/CodeGen/CGBlocks.h
index f82ce117b34..a1453f68161 100644
--- a/clang/lib/CodeGen/CGBlocks.h
+++ b/clang/lib/CodeGen/CGBlocks.h
@@ -189,13 +189,16 @@ public:
llvm::Constant *BuildDestroyHelper(const llvm::StructType *,
std::vector<HelperInfo> *);
- llvm::Constant *GeneratebyrefCopyHelperFunction(const llvm::Type *, int flag);
- llvm::Constant *GeneratebyrefDestroyHelperFunction(const llvm::Type *T, int);
+ llvm::Constant *GeneratebyrefCopyHelperFunction(const llvm::Type *, int flag,
+ const VarDecl *BD);
+ llvm::Constant *GeneratebyrefDestroyHelperFunction(const llvm::Type *T,
+ int flag,
+ const VarDecl *BD);
llvm::Constant *BuildbyrefCopyHelper(const llvm::Type *T, int flag,
- unsigned Align);
+ unsigned Align, const VarDecl *BD);
llvm::Constant *BuildbyrefDestroyHelper(const llvm::Type *T, int flag,
- unsigned Align);
+ unsigned Align, const VarDecl *BD);
void BuildBlockRelease(llvm::Value *DeclPtr, int flag = BLOCK_FIELD_IS_BYREF);
OpenPOWER on IntegriCloud