]> granicus.if.org Git - clang/commitdiff
Correct comment. The return type was changed to const Type* in r123814. Patch by...
authorDmitri Gribenko <gribozavr@gmail.com>
Tue, 12 Jun 2012 01:21:44 +0000 (01:21 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Tue, 12 Jun 2012 01:21:44 +0000 (01:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158347 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Type.h

index 12fc7409cb20960c6e499928ed761a631b5f8f13..23308d0873e30efc2880edb68ce4091a1e1190a6 100644 (file)
@@ -522,8 +522,6 @@ public:
   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().