[cfe-commits] r158347 - /cfe/trunk/include/clang/AST/Type.h

Dmitri Gribenko gribozavr at gmail.com
Mon Jun 11 18:21:45 PDT 2012


Author: gribozavr
Date: Mon Jun 11 20:21:44 2012
New Revision: 158347

URL: http://llvm.org/viewvc/llvm-project?rev=158347&view=rev
Log:
Correct comment.  The return type was changed to const Type* in r123814.  Patch by David Röthlisberger.

Modified:
    cfe/trunk/include/clang/AST/Type.h

Modified: cfe/trunk/include/clang/AST/Type.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Type.h?rev=158347&r1=158346&r2=158347&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Type.h (original)
+++ cfe/trunk/include/clang/AST/Type.h Mon Jun 11 20:21:44 2012
@@ -522,8 +522,6 @@
   void setLocalFastQualifiers(unsigned Quals) { Value.setInt(Quals); }
 
   /// Retrieves a pointer to the underlying (unqualified) type.
-  /// This should really return a const Type, but it's not worth
-  /// changing all the users right now.
   ///
   /// This function requires that the type not be NULL. If the type might be
   /// NULL, use the (slightly less efficient) \c getTypePtrOrNull().





More information about the cfe-commits mailing list