]> granicus.if.org Git - clang/commitdiff
Remove incorrect warning signs from QualType::getUnqualifiedType(). These
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 31 Jan 2013 06:13:11 +0000 (06:13 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 31 Jan 2013 06:13:11 +0000 (06:13 +0000)
statements were only true for 65 CLs after they were introduced two years ago.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174043 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Type.h

index cc6c1fd445d310e72558969df3eb974ddccfdbb8..188dfdcce5fea47685ec759f15a852e165581651 100644 (file)
@@ -783,10 +783,6 @@ public:
   ///
   /// Executing \c getUnqualifiedType() on the type \c DifferenceType will
   /// desugar until we hit the type \c Integer, which has no qualifiers on it.
-  ///
-  /// The resulting type might still be qualified if it's an array
-  /// type.  To strip qualifiers even from within an array type, use
-  /// ASTContext::getUnqualifiedArrayType.
   inline QualType getUnqualifiedType() const;
 
   /// getSplitUnqualifiedType - Retrieve the unqualified variant of the
@@ -794,10 +790,6 @@ public:
   ///
   /// Like getUnqualifiedType(), but also returns the set of
   /// qualifiers that were built up.
-  ///
-  /// The resulting type might still be qualified if it's an array
-  /// type.  To strip qualifiers even from within an array type, use
-  /// ASTContext::getUnqualifiedArrayType.
   inline SplitQualType getSplitUnqualifiedType() const;
 
   /// \brief Determine whether this type is more qualified than the other