[cfe-commits] r55038 - /cfe/trunk/lib/Sema/ParseAST.cpp

Ted Kremenek kremenek at apple.com
Tue Aug 19 20:27:00 PDT 2008


Author: kremenek
Date: Tue Aug 19 22:27:00 2008
New Revision: 55038

URL: http://llvm.org/viewvc/llvm-project?rev=55038&view=rev
Log:
Re-enable deletion of AST nodes upon completion of ParseAST.

Modified:
    cfe/trunk/lib/Sema/ParseAST.cpp

Modified: cfe/trunk/lib/Sema/ParseAST.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/ParseAST.cpp?rev=55038&r1=55037&r2=55038&view=diff

==============================================================================
--- cfe/trunk/lib/Sema/ParseAST.cpp (original)
+++ cfe/trunk/lib/Sema/ParseAST.cpp Tue Aug 19 22:27:00 2008
@@ -38,9 +38,6 @@
                      PP.getIdentifierTable(), PP.getSelectorTable());
   
   TranslationUnit TU(Context);
-  TU.SetOwnsDecls(false);
-  
-
   Sema S(PP, Context, *Consumer);
   Parser P(PP, S);
   PP.EnterMainSourceFile();





More information about the cfe-commits mailing list