r174043 - Remove incorrect warning signs from QualType::getUnqualifiedType(). These

Richard Smith richard-llvm at metafoo.co.uk
Wed Jan 30 22:13:11 PST 2013


Author: rsmith
Date: Thu Jan 31 00:13:11 2013
New Revision: 174043

URL: http://llvm.org/viewvc/llvm-project?rev=174043&view=rev
Log:
Remove incorrect warning signs from QualType::getUnqualifiedType(). These
statements were only true for 65 CLs after they were introduced two years ago.

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=174043&r1=174042&r2=174043&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Type.h (original)
+++ cfe/trunk/include/clang/AST/Type.h Thu Jan 31 00:13:11 2013
@@ -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





More information about the cfe-commits mailing list