forked from OSchip/llvm-project
Re-enable deletion of AST nodes upon completion of ParseAST.
llvm-svn: 55038
This commit is contained in:
parent
0e857200bb
commit
821159e352
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue