From 77ee5ed0ac67709ef9f255c1e37f7ad44240f373 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 20 Aug 2008 03:27:00 +0000 Subject: [PATCH] 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 --- lib/Sema/ParseAST.cpp | 3 --- 1 file changed, 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(); -- 2.40.0