[cfe-commits] r64256 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.def lib/Sema/Sema.h lib/Sema/SemaTemplate.cpp lib/Sema/SemaType.cpp test/SemaTemplate/temp_arg_nontype.cpp

Chris Lattner clattner at apple.com
Tue Feb 10 16:51:30 PST 2009


>>> +  bool hasSameType(QualType T1, QualType T2);
>>> +  bool hasSameUnqualifiedType(QualType T1, QualType T2);
>>
>> Would it make sense to make these predciates on qualType?   
>> T1.isSameAs(T2)
>
> This one is okay on QualType, but...
>
>> T1.isUnqualifiedTypeSameAs(T2) ?
>
>
> ... this doesn't mean the same thing as hasSameUnqualifiedType.

isSameAsIgnoringQualifiers?

-Chris



More information about the cfe-commits mailing list