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
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp
index e179766..1bbe08e 100644
--- a/clang/lib/AST/ASTContext.cpp
+++ b/clang/lib/AST/ASTContext.cpp
@@ -1010,8 +1010,8 @@
 
 /// \brief Get the copy initialization expression of VarDecl,or NULL if 
 /// none exists.
-Expr *ASTContext::getBlockVarCopyInits(VarDecl*VD) {
-  llvm::DenseMap<VarDecl*, Expr*>::iterator
+Expr *ASTContext::getBlockVarCopyInits(const VarDecl*VD) {
+  llvm::DenseMap<const VarDecl*, Expr*>::iterator
   I = BlockVarCopyInits.find(VD);
   return (I != BlockVarCopyInits.end()) ? cast<Expr>(I->second) : 0;
 }