diff options
| author | Steve Naroff <snaroff@apple.com> | 2008-10-04 17:10:02 +0000 |
|---|---|---|
| committer | Steve Naroff <snaroff@apple.com> | 2008-10-04 17:10:02 +0000 |
| commit | 756efbc7f7b2e73a827b271d8bbbae8003100f66 (patch) | |
| tree | 1b4b1a11b579fad75811dc6f03682c8b353ddcf0 /clang | |
| parent | 5f96e4dffc068685bd2e2a733da6303d18481e9c (diff) | |
| download | bcm5719-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.cpp | 1 |
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) { |

