diff options
Diffstat (limited to 'lib/Sema/ParseAST.cpp')
-rw-r--r-- | lib/Sema/ParseAST.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Sema/ParseAST.cpp b/lib/Sema/ParseAST.cpp index ff6de25c1d..67af285315 100644 --- a/lib/Sema/ParseAST.cpp +++ b/lib/Sema/ParseAST.cpp @@ -39,7 +39,8 @@ void clang::ParseAST(Preprocessor &PP, ASTConsumer *Consumer, ASTContext *Context = new ASTContext(PP.getLangOptions(), PP.getSourceManager(), PP.getTargetInfo(), - PP.getIdentifierTable(), PP.getSelectorTable()); + PP.getIdentifierTable(), PP.getSelectorTable(), + FreeMemory); TranslationUnit *TU = new TranslationUnit(*Context); Sema S(PP, *Context, *Consumer); Parser P(PP, S); |