summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2010-08-08 05:02:51 +0000
committerChandler Carruth <chandlerc@gmail.com>2010-08-08 05:02:51 +0000
commit9c524c1d530162f482ceb916e41da70aee20c6b5 (patch)
tree1ba058b919964e580170b92a41574440ce54387c /clang/lib
parent2b1077fb1d1fb97b8f0e2f407072e3838e8ae124 (diff)
downloadbcm5719-llvm-9c524c1d530162f482ceb916e41da70aee20c6b5.tar.gz
bcm5719-llvm-9c524c1d530162f482ceb916e41da70aee20c6b5.zip
Silence GCC warning about && and || without explicit grouping.
llvm-svn: 110537
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Sema/SemaOverload.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaOverload.cpp b/clang/lib/Sema/SemaOverload.cpp
index d3855a52a13..f0b1fcb6d05 100644
--- a/clang/lib/Sema/SemaOverload.cpp
+++ b/clang/lib/Sema/SemaOverload.cpp
@@ -857,8 +857,8 @@ static bool IsVectorConversion(ASTContext &Context, QualType FromType,
// same size
if (ToType->isVectorType() && FromType->isVectorType()) {
if (Context.areCompatibleVectorTypes(FromType, ToType) ||
- Context.getLangOptions().LaxVectorConversions &&
- (Context.getTypeSize(FromType) == Context.getTypeSize(ToType))) {
+ (Context.getLangOptions().LaxVectorConversions &&
+ (Context.getTypeSize(FromType) == Context.getTypeSize(ToType)))) {
ICK = ICK_Vector_Conversion;
return true;
}
OpenPOWER on IntegriCloud