GCC complains thusly: "attributes at the beginning of statement are ignored [-Werror...
authorNick Lewycky <nicholas@mxc.ca>
Mon, 13 Apr 2015 20:03:08 +0000 (20:03 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 13 Apr 2015 20:03:08 +0000 (20:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234788 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/InstCombine/InstCombineCalls.cpp

index 11094e9939743cfaf98255ca6eb207ffc7a3b2d6..fb4c6142fa68246d21b6c98a8761197cd85371ea 100644 (file)
@@ -428,7 +428,7 @@ Instruction *InstCombiner::visitCallInst(CallInst &CI) {
       II->setArgOperand(1, LHS);
       return II;
     }
-    [[clang::fallthrough]];
+    // fall through
 
   case Intrinsic::usub_with_overflow:
   case Intrinsic::ssub_with_overflow: {