diff options
Diffstat (limited to 'include/clang/Sema/ParseAST.h')
-rw-r--r-- | include/clang/Sema/ParseAST.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/clang/Sema/ParseAST.h b/include/clang/Sema/ParseAST.h index 907372ddef..60249ede8d 100644 --- a/include/clang/Sema/ParseAST.h +++ b/include/clang/Sema/ParseAST.h @@ -21,7 +21,11 @@ namespace clang { /// ParseAST - Parse the entire file specified, notifying the ASTConsumer as /// the file is parsed. This takes ownership of the ASTConsumer and /// ultimately deletes it. - void ParseAST(Preprocessor &pp, ASTConsumer *C, bool PrintStats = false); + /// + /// \param FreeMemory If false, the memory used for AST elements is + /// not released. + void ParseAST(Preprocessor &pp, ASTConsumer *C, + bool PrintStats = false, bool FreeMemory = true); } // end namespace clang |