From: Steve Naroff Date: Sat, 4 Oct 2008 17:10:02 +0000 (+0000) Subject: Clear the map that associated the rewritten block with it's corresponding BlockExpr. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e9216dab03b65ce39b7d2911b9c777be4c8f8c7;p=clang 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 --- 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) {