From 8e9216dab03b65ce39b7d2911b9c777be4c8f8c7 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57053 91177308-0d34-0410-b5e6-96231b3b80d8 --- Driver/RewriteBlocks.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Driver/RewriteBlocks.cpp b/Driver/RewriteBlocks.cpp index 9bced9602b..e22f1e5385 100644 --- a/Driver/RewriteBlocks.cpp +++ b/Driver/RewriteBlocks.cpp @@ -605,6 +605,7 @@ void RewriteBlocks::SynthesizeBlockLiterals(SourceLocation FunLocStart, ImportedBlockDecls.clear(); } Blocks.clear(); + RewrittenBlockExprs.clear(); } void RewriteBlocks::InsertBlockLiteralsWithinFunction(FunctionDecl *FD) { -- 2.50.1