summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBlocks.h
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2010-06-04 16:10:00 +0000
committerFariborz Jahanian <fjahanian@apple.com>2010-06-04 16:10:00 +0000
commit64176c2c9751997bfbc0e3a7c070f5aaa767be25 (patch)
tree09811544eeb40bfa1b075c97f63d041ce708d5d0 /clang/lib/CodeGen/CGBlocks.h
parent92eb2cbbef54102a35d44fd5d827d092cabff306 (diff)
downloadbcm5719-llvm-64176c2c9751997bfbc0e3a7c070f5aaa767be25.tar.gz
bcm5719-llvm-64176c2c9751997bfbc0e3a7c070f5aaa767be25.zip
For C++ copied in objects, use copy constructors in
setting up block's descriptor. This is on going work to support c++ specific issues in setting up blocks various APIs. llvm-svn: 105469
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.h')
-rw-r--r--clang/lib/CodeGen/CGBlocks.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.h b/clang/lib/CodeGen/CGBlocks.h
index e9b2bd549af..4d92201d0d9 100644
--- a/clang/lib/CodeGen/CGBlocks.h
+++ b/clang/lib/CodeGen/CGBlocks.h
@@ -180,6 +180,9 @@ public:
/// BlockDecls - Offsets for all Decls in BlockDeclRefExprs.
llvm::DenseMap<const Decl*, CharUnits> BlockDecls;
+
+ /// BlockDeclsValue - llvm::Value for all Decls in BlockDeclRefExprs.
+ llvm::DenseMap<const Decl*, llvm::Value *> BlockDeclsValue;
/// BlockCXXThisOffset - The offset of the C++ 'this' value within
/// the block structure.
OpenPOWER on IntegriCloud