[cfe-commits] r64673 - /cfe/trunk/lib/Sema/SemaType.cpp
Chris Lattner
sabre at nondot.org
Mon Feb 16 13:43:00 PST 2009
Author: lattner
Date: Mon Feb 16 15:43:00 2009
New Revision: 64673
URL: http://llvm.org/viewvc/llvm-project?rev=64673&view=rev
Log:
random cleanup
Modified:
cfe/trunk/lib/Sema/SemaType.cpp
Modified: cfe/trunk/lib/Sema/SemaType.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaType.cpp?rev=64673&r1=64672&r2=64673&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaType.cpp (original)
+++ cfe/trunk/lib/Sema/SemaType.cpp Mon Feb 16 15:43:00 2009
@@ -680,8 +680,7 @@
/// qualifiers on T1 and T2 are ignored. This function will typically
/// be called in a loop that successively "unwraps" pointer and
/// pointer-to-member types to compare them at each level.
-bool Sema::UnwrapSimilarPointerTypes(QualType& T1, QualType& T2)
-{
+bool Sema::UnwrapSimilarPointerTypes(QualType& T1, QualType& T2) {
const PointerType *T1PtrType = T1->getAsPointerType(),
*T2PtrType = T2->getAsPointerType();
if (T1PtrType && T2PtrType) {
More information about the cfe-commits
mailing list