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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105469 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGBlocks.h b/lib/CodeGen/CGBlocks.h
index e9b2bd5..4d92201 100644
--- a/lib/CodeGen/CGBlocks.h
+++ b/lib/CodeGen/CGBlocks.h
@@ -180,6 +180,9 @@
/// 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.