summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2010-07-13 17:07:17 +0000
committerChandler Carruth <chandlerc@gmail.com>2010-07-13 17:07:17 +0000
commit46e8978c69aa4e6c8914ed2785394b4370aa7a23 (patch)
tree337167bd0b50ed0f8b370ccb380bbd23a09cdc42
parent4a7904d65277f7768d9fc67e521e9a001ba1191f (diff)
downloadbcm5719-llvm-46e8978c69aa4e6c8914ed2785394b4370aa7a23.tar.gz
bcm5719-llvm-46e8978c69aa4e6c8914ed2785394b4370aa7a23.zip
Silence Doug's favorite GCC warning.
llvm-svn: 108247
-rw-r--r--clang/lib/AST/Type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/Type.cpp b/clang/lib/AST/Type.cpp
index ab64eafbee2..ebcf828ebf0 100644
--- a/clang/lib/AST/Type.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud