[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:44:33 PST 2009
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
More information about the cfe-commits
mailing list