[cfe-commits] r108247 - /cfe/trunk/lib/AST/Type.cpp
Chandler Carruth
chandlerc at gmail.com
Tue Jul 13 10:07:17 PDT 2010
Author: chandlerc
Date: Tue Jul 13 12:07:17 2010
New Revision: 108247
URL: http://llvm.org/viewvc/llvm-project?rev=108247&view=rev
Log:
Silence Doug's favorite GCC warning.
Modified:
cfe/trunk/lib/AST/Type.cpp
Modified: cfe/trunk/lib/AST/Type.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Type.cpp?rev=108247&r1=108246&r2=108247&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Type.cpp (original)
+++ cfe/trunk/lib/AST/Type.cpp Tue Jul 13 12:07:17 2010
@@ -1002,7 +1002,7 @@
//
// See also C99 6.3.2.1p2.
if (!Context.getLangOptions().CPlusPlus ||
- !getTypePtr()->isDependentType() && !getTypePtr()->isRecordType())
+ (!getTypePtr()->isDependentType() && !getTypePtr()->isRecordType()))
return getUnqualifiedType();
return *this;
More information about the cfe-commits
mailing list