summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/ParseAST.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-08-20 03:27:00 +0000
committerTed Kremenek <kremenek@apple.com>2008-08-20 03:27:00 +0000
commit821159e352ee71037b731ee3d5191fb20e165115 (patch)
tree624776c381ff7cdb741860076fdcc627dec815a1 /clang/lib/Sema/ParseAST.cpp
parent0e857200bbcd846f36eb62a5feeb5a11aec035a9 (diff)
downloadbcm5719-llvm-821159e352ee71037b731ee3d5191fb20e165115.tar.gz
bcm5719-llvm-821159e352ee71037b731ee3d5191fb20e165115.zip
Re-enable deletion of AST nodes upon completion of ParseAST.
llvm-svn: 55038
Diffstat (limited to 'clang/lib/Sema/ParseAST.cpp')
-rw-r--r--clang/lib/Sema/ParseAST.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/Sema/ParseAST.cpp b/clang/lib/Sema/ParseAST.cpp
index 4bd70a8fa51..fc350968272 100644
--- a/clang/lib/Sema/ParseAST.cpp
+++ b/clang/lib/Sema/ParseAST.cpp
@@ -38,9 +38,6 @@ void clang::ParseAST(Preprocessor &PP, ASTConsumer *Consumer, bool PrintStats) {
PP.getIdentifierTable(), PP.getSelectorTable());
TranslationUnit TU(Context);
- TU.SetOwnsDecls(false);
-
-
Sema S(PP, Context, *Consumer);
Parser P(PP, S);
PP.EnterMainSourceFile();
OpenPOWER on IntegriCloud