[cfe-commits] r58281 - in /cfe/trunk: include/clang/Sema/ParseAST.h lib/Sema/ParseAST.cpp

Daniel Dunbar daniel at zuster.org
Mon Oct 27 15:01:05 PDT 2008


Author: ddunbar
Date: Mon Oct 27 17:01:05 2008
New Revision: 58281

URL: http://llvm.org/viewvc/llvm-project?rev=58281&view=rev
Log:
Comment fix, ParseAST does not take ownership of the consumer.

Modified:
    cfe/trunk/include/clang/Sema/ParseAST.h
    cfe/trunk/lib/Sema/ParseAST.cpp

Modified: cfe/trunk/include/clang/Sema/ParseAST.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/ParseAST.h?rev=58281&r1=58280&r2=58281&view=diff

==============================================================================
--- cfe/trunk/include/clang/Sema/ParseAST.h (original)
+++ cfe/trunk/include/clang/Sema/ParseAST.h Mon Oct 27 17:01:05 2008
@@ -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.

Modified: cfe/trunk/lib/Sema/ParseAST.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/ParseAST.cpp?rev=58281&r1=58280&r2=58281&view=diff

==============================================================================
--- cfe/trunk/lib/Sema/ParseAST.cpp (original)
+++ cfe/trunk/lib/Sema/ParseAST.cpp Mon Oct 27 17:01:05 2008
@@ -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.





More information about the cfe-commits mailing list