From: Daniel Dunbar Date: Mon, 27 Oct 2008 22:01:05 +0000 (+0000) Subject: Comment fix, ParseAST does not take ownership of the consumer. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d6a1c5daec1ff7152f0e3ced8a461e0dc6793dfa;p=clang Comment fix, ParseAST does not take ownership of the consumer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58281 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Sema/ParseAST.h b/include/clang/Sema/ParseAST.h index 60249ede8d..91d7f1aa36 100644 --- a/include/clang/Sema/ParseAST.h +++ b/include/clang/Sema/ParseAST.h @@ -19,8 +19,7 @@ namespace clang { class ASTConsumer; /// ParseAST - Parse the entire file specified, notifying the ASTConsumer as - /// the file is parsed. This takes ownership of the ASTConsumer and - /// ultimately deletes it. + /// the file is parsed. /// /// \param FreeMemory If false, the memory used for AST elements is /// not released. diff --git a/lib/Sema/ParseAST.cpp b/lib/Sema/ParseAST.cpp index 567cfc2763..272615cceb 100644 --- a/lib/Sema/ParseAST.cpp +++ b/lib/Sema/ParseAST.cpp @@ -24,8 +24,7 @@ using 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. +/// the file is parsed. /// /// \param FreeMemory If false, the memory used for AST elements is /// not released.