diff options
author | Nico Weber <nicolasweber@gmx.de> | 2014-04-24 03:31:27 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2014-04-24 03:31:27 +0000 |
commit | 1f29ccf3fba58ba99731084948316d9f160c0735 (patch) | |
tree | e72ef2f169e37bc31c32ad9a0d1166b1096a5757 /clang/lib/Frontend | |
parent | 9a6be8b3b14972694408b2a8555751f7954744fc (diff) | |
download | bcm5719-llvm-1f29ccf3fba58ba99731084948316d9f160c0735.tar.gz bcm5719-llvm-1f29ccf3fba58ba99731084948316d9f160c0735.zip |
Revert the "don't leak" part of r207065, looks like the bots don't like it :-/
http://bb.pgr.jp/builders/cmake-clang-x86_64-linux/builds/22506
llvm-svn: 207070
Diffstat (limited to 'clang/lib/Frontend')
-rw-r--r-- | clang/lib/Frontend/FrontendAction.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Frontend/FrontendAction.cpp b/clang/lib/Frontend/FrontendAction.cpp index 4bb539c88a9..8b05849f900 100644 --- a/clang/lib/Frontend/FrontendAction.cpp +++ b/clang/lib/Frontend/FrontendAction.cpp @@ -443,7 +443,8 @@ void FrontendAction::EndSourceFile() { // FrontendAction. CI.clearOutputFiles(/*EraseFiles=*/shouldEraseOutputFiles()); - if (DisableFree && isCurrentFileAST()) { + // FIXME: Only do this if DisableFree is set. + if (isCurrentFileAST()) { CI.resetAndLeakSema(); CI.resetAndLeakASTContext(); CI.resetAndLeakPreprocessor(); |