]> granicus.if.org Git - clang/commitdiff
Clear the map that associated the rewritten block with it's corresponding BlockExpr.
authorSteve Naroff <snaroff@apple.com>
Sat, 4 Oct 2008 17:10:02 +0000 (17:10 +0000)
committerSteve Naroff <snaroff@apple.com>
Sat, 4 Oct 2008 17:10:02 +0000 (17:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57053 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/RewriteBlocks.cpp

index 9bced9602b22ef74eb4a58cc1e17f8d085cc7ecf..e22f1e53850cb456d45533546a31dd64b8f89011 100644 (file)
@@ -605,6 +605,7 @@ void RewriteBlocks::SynthesizeBlockLiterals(SourceLocation FunLocStart,
     ImportedBlockDecls.clear();
   }
   Blocks.clear();
+  RewrittenBlockExprs.clear();
 }
 
 void RewriteBlocks::InsertBlockLiteralsWithinFunction(FunctionDecl *FD) {