aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaOverload.cpp
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
commitc45eb9cad8beb8a2be275cafeaa5fe4de823ac29 (patch)
tree53125886e98efd14e4279ed0812ef2ff9efe5907 /lib/Sema/SemaOverload.cpp
parent91f31dc234bbc98f3dd20e6741a7b0b98c7916bf (diff)
Silence GCC warning about && and || without explicit grouping.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110537 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaOverload.cpp')
-rw-r--r--lib/Sema/SemaOverload.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/SemaOverload.cpp b/lib/Sema/SemaOverload.cpp
index d3855a52a1..f0b1fcb6d0 100644
--- a/lib/Sema/SemaOverload.cpp
+++ b/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;
}