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 60249ed..91d7f1a 100644
--- a/include/clang/Sema/ParseAST.h
+++ b/include/clang/Sema/ParseAST.h
@@ -19,8 +19,7 @@
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 567cfc2..272615c 100644
--- a/lib/Sema/ParseAST.cpp
+++ b/lib/Sema/ParseAST.cpp
@@ -24,8 +24,7 @@
//===----------------------------------------------------------------------===//
/// 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.