On Wed, Jan 30, 2013 at 10:13 PM, Richard Smith <[email protected]> wrote: > 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.
Um, 65 revisions. ;) > > 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 > > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
