From: Chandler Carruth Date: Sun, 8 Aug 2010 05:02:51 +0000 (+0000) Subject: Silence GCC warning about && and || without explicit grouping. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c45eb9cad8beb8a2be275cafeaa5fe4de823ac29;p=clang 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 --- 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; }