Author: snaroff
Date: Sat Oct 4 12:45:51 2008
New Revision: 57054
URL: http://llvm.org/viewvc/llvm-project?rev=57054&view=rev
Log:
Cut/paste error...need to use the expression "name" for member references (or
other complex expressions that can embed a block pointer type)
Modified:
cfe/trunk/Driver/RewriteBlocks.cpp
Modified: cfe/trunk/Driver/RewriteBlocks.cpp
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/RewriteBlocks.cpp?rev=57054&r1=57053&r2=57054&view=diff
==============================================================================
--- cfe/trunk/Driver/RewriteBlocks.cpp (original)
+++ cfe/trunk/Driver/RewriteBlocks.cpp Sat Oct 4 12:45:51 2008
@@ -702,7 +702,7 @@
// Add the arguments.
BlockCall += "((struct __block_impl *)";
- BlockCall += closureName;
+ BlockCall += closureExprBuf.str();
for (CallExpr::arg_iterator I = Exp->arg_begin(),
E = Exp->arg_end(); I != E; ++I) {
std::string syncExprBufS;
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits