[cfe-commits] r110537 - /cfe/trunk/lib/Sema/SemaOverload.cpp

Chandler Carruth chandlerc at gmail.com
Sat Aug 7 22:02:51 PDT 2010


Author: chandlerc
Date: Sun Aug  8 00:02:51 2010
New Revision: 110537

URL: http://llvm.org/viewvc/llvm-project?rev=110537&view=rev
Log:
Silence GCC warning about && and || without explicit grouping.

Modified:
    cfe/trunk/lib/Sema/SemaOverload.cpp

Modified: cfe/trunk/lib/Sema/SemaOverload.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaOverload.cpp?rev=110537&r1=110536&r2=110537&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaOverload.cpp (original)
+++ cfe/trunk/lib/Sema/SemaOverload.cpp Sun Aug  8 00:02:51 2010
@@ -857,8 +857,8 @@
   //   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;
     }





More information about the cfe-commits mailing list