r255006 - Replace bitwise AND with logical AND in an expression that already had another logical AND. NFC

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 7 22:49:16 PST 2015


Author: ctopper
Date: Tue Dec  8 00:49:15 2015
New Revision: 255006

URL: http://llvm.org/viewvc/llvm-project?rev=255006&view=rev
Log:
Replace bitwise AND with logical AND in an expression that already had another logical AND. NFC

Modified:
    cfe/trunk/test/SemaCXX/constant-expression-cxx1y.cpp

Modified: cfe/trunk/test/SemaCXX/constant-expression-cxx1y.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/constant-expression-cxx1y.cpp?rev=255006&r1=255005&r2=255006&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/constant-expression-cxx1y.cpp (original)
+++ cfe/trunk/test/SemaCXX/constant-expression-cxx1y.cpp Tue Dec  8 00:49:15 2015
@@ -462,7 +462,7 @@ namespace loops {
       if ((c % 7) == 0) break;
     } while (c != 21);
 
-    return a == 10 && b == 12 & c == 14;
+    return a == 10 && b == 12 && c == 14;
   }
   static_assert(breaks_work(), "");
 




More information about the cfe-commits mailing list