[llvm] r234788 - GCC complains thusly: "attributes at the beginning of statement are ignored [-Werror=attributes]". Very well then! NFC
Nick Lewycky
nicholas at mxc.ca
Mon Apr 13 13:03:08 PDT 2015
Author: nicholas
Date: Mon Apr 13 15:03:08 2015
New Revision: 234788
URL: http://llvm.org/viewvc/llvm-project?rev=234788&view=rev
Log:
GCC complains thusly: "attributes at the beginning of statement are ignored [-Werror=attributes]". Very well then! NFC
Modified:
llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp
Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp?rev=234788&r1=234787&r2=234788&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp Mon Apr 13 15:03:08 2015
@@ -428,7 +428,7 @@ Instruction *InstCombiner::visitCallInst
II->setArgOperand(1, LHS);
return II;
}
- [[clang::fallthrough]];
+ // fall through
case Intrinsic::usub_with_overflow:
case Intrinsic::ssub_with_overflow: {
More information about the llvm-commits
mailing list