On Feb 10, 2009, at 4:41 PM, Chris Lattner wrote:
>
> On Feb 10, 2009, at 3:36 PM, Douglas Gregor wrote:
>
>> +++ cfe/trunk/lib/Sema/Sema.h Tue Feb 10 17:36:10 2009
>> @@ -281,6 +281,9 @@
>> SourceRange Range2 = SourceRange(),
>> QualType PrintType = QualType());
>>
>> + 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.
- Doug
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits