summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
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