From d6a1c5daec1ff7152f0e3ced8a461e0dc6793dfa Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 27 Oct 2008 22:01:05 +0000 Subject: [PATCH] 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 --- include/clang/Sema/ParseAST.h | 3 +-- lib/Sema/ParseAST.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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. -- 2.50.1