aboutsummaryrefslogtreecommitdiff
path: root/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
commit77ee5ed0ac67709ef9f255c1e37f7ad44240f373 (patch)
treeaa92eb7224ffa8f32b8bcc047f7178857bdafb19 /lib/Sema/ParseAST.cpp
parent01e6779faca1e3a3164c697d6e2dfee0881a6981 (diff)
Re-enable deletion of AST nodes upon completion of ParseAST.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55038 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/ParseAST.cpp')
-rw-r--r--lib/Sema/ParseAST.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Sema/ParseAST.cpp b/lib/Sema/ParseAST.cpp
index 4bd70a8fa5..fc35096827 100644
--- a/lib/Sema/ParseAST.cpp
+++ b/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();