From: Chandler Carruth Date: Tue, 13 Jul 2010 17:07:17 +0000 (+0000) Subject: Silence Doug's favorite GCC warning. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6dc1ef87044e6b177d4df0d2b593a94616180b3d;p=clang Silence Doug's favorite GCC warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108247 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/Type.cpp b/lib/AST/Type.cpp index ab64eafbee..ebcf828ebf 100644 --- a/lib/AST/Type.cpp +++ b/lib/AST/Type.cpp @@ -1002,7 +1002,7 @@ QualType QualType::getCallResultType(ASTContext &Context) const { // // See also C99 6.3.2.1p2. if (!Context.getLangOptions().CPlusPlus || - !getTypePtr()->isDependentType() && !getTypePtr()->isRecordType()) + (!getTypePtr()->isDependentType() && !getTypePtr()->isRecordType())) return getUnqualifiedType(); return *this;