[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:41:12 PST 2009
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) T1.isUnqualifiedTypeSameAs(T2) ?
-Chris
More information about the cfe-commits
mailing list