From 756efbc7f7b2e73a827b271d8bbbae8003100f66 Mon Sep 17 00:00:00 2001 From: Steve Naroff Date: Sat, 4 Oct 2008 17:10:02 +0000 Subject: [PATCH] Clear the map that associated the rewritten block with it's corresponding BlockExpr. llvm-svn: 57053 --- clang/Driver/RewriteBlocks.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/Driver/RewriteBlocks.cpp b/clang/Driver/RewriteBlocks.cpp index 9bced9602b22..e22f1e53850c 100644 --- a/clang/Driver/RewriteBlocks.cpp +++ b/clang/Driver/RewriteBlocks.cpp @@ -605,6 +605,7 @@ void RewriteBlocks::SynthesizeBlockLiterals(SourceLocation FunLocStart, ImportedBlockDecls.clear(); } Blocks.clear(); + RewrittenBlockExprs.clear(); } void RewriteBlocks::InsertBlockLiteralsWithinFunction(FunctionDecl *FD) {