summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-10-04 17:10:02 +0000
committerSteve Naroff <snaroff@apple.com>2008-10-04 17:10:02 +0000
commit756efbc7f7b2e73a827b271d8bbbae8003100f66 (patch)
tree1b4b1a11b579fad75811dc6f03682c8b353ddcf0 /clang
parent5f96e4dffc068685bd2e2a733da6303d18481e9c (diff)
downloadbcm5719-llvm-756efbc7f7b2e73a827b271d8bbbae8003100f66.tar.gz
bcm5719-llvm-756efbc7f7b2e73a827b271d8bbbae8003100f66.zip
Clear the map that associated the rewritten block with it's corresponding BlockExpr.
llvm-svn: 57053
Diffstat (limited to 'clang')
-rw-r--r--clang/Driver/RewriteBlocks.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/Driver/RewriteBlocks.cpp b/clang/Driver/RewriteBlocks.cpp
index 9bced9602b2..e22f1e53850 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) {
OpenPOWER on IntegriCloud