aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/ConstantFold.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2016-08-17 05:10:15 +0000
committerJustin Bogner <mail@justinbogner.com>2016-08-17 05:10:15 +0000
commitb03fd12cef8ddbac2442e89486293880c6ccf90f (patch)
tree26b1e88a177edc22e2c82ba41273a9124e36e888 /llvm/lib/IR/ConstantFold.cpp
parent0dace2d3a1135b4e9b44a23076f9565e7186e99b (diff)
downloadllvm-b03fd12cef8ddbac2442e89486293880c6ccf90f.zip
llvm-b03fd12cef8ddbac2442e89486293880c6ccf90f.tar.gz
llvm-b03fd12cef8ddbac2442e89486293880c6ccf90f.tar.bz2
Replace "fallthrough" comments with LLVM_FALLTHROUGH
This is a mechanical change of comments in switches like fallthrough, fall-through, or fall-thru to use the LLVM_FALLTHROUGH macro instead. llvm-svn: 278902
Diffstat (limited to 'llvm/lib/IR/ConstantFold.cpp')
-rw-r--r--llvm/lib/IR/ConstantFold.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/ConstantFold.cpp b/llvm/lib/IR/ConstantFold.cpp
index c06a99c..7bbe9b7 100644
--- a/llvm/lib/IR/ConstantFold.cpp
+++ b/llvm/lib/IR/ConstantFold.cpp
@@ -925,7 +925,7 @@ Constant *llvm::ConstantFoldBinaryInstruction(unsigned Opcode,
// Handle undef ^ undef -> 0 special case. This is a common
// idiom (misuse).
return Constant::getNullValue(C1->getType());
- // Fallthrough
+ LLVM_FALLTHROUGH;
case Instruction::Add:
case Instruction::Sub:
return UndefValue::get(C1->getType());