[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

Douglas Gregor dgregor at apple.com
Tue Feb 10 16:53:58 PST 2009


On Feb 10, 2009, at 4:51 PM, Chris Lattner wrote:

>>>> +  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?

Works for me. Pushed onto the "easy fixes" queue :)

	- Doug



More information about the cfe-commits mailing list