Add parentheses suggested by gcc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106668 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Parse/DeclSpec.cpp b/lib/Parse/DeclSpec.cpp
index 2f328b0..d2cd744 100644
--- a/lib/Parse/DeclSpec.cpp
+++ b/lib/Parse/DeclSpec.cpp
@@ -452,8 +452,8 @@
}
// Only char/int are valid with vector bool. (PIM 2.1)
- if ((TypeSpecType != TST_unspecified) && (TypeSpecType != TST_char) &&
- (TypeSpecType != TST_int) || TypeAltiVecPixel) {
+ if (((TypeSpecType != TST_unspecified) && (TypeSpecType != TST_char) &&
+ (TypeSpecType != TST_int)) || TypeAltiVecPixel) {
Diag(D, TSTLoc, SrcMgr, diag::err_invalid_vector_bool_decl_spec)
<< (TypeAltiVecPixel ? "__pixel" :
getSpecifierName((TST)TypeSpecType));