aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/IPO/MergeFunctions.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2016-08-17 20:30:52 +0000
committerJustin Bogner <mail@justinbogner.com>2016-08-17 20:30:52 +0000
commitcd1d5aaf2e317122ddb08bf8d026a6cf8b42a9d8 (patch)
treea7454511a28342557b6b2722f014529f399ecffe /llvm/lib/Transforms/IPO/MergeFunctions.cpp
parentde3aea04129bcde27b025e4619519b4ff01be226 (diff)
downloadllvm-cd1d5aaf2e317122ddb08bf8d026a6cf8b42a9d8.zip
llvm-cd1d5aaf2e317122ddb08bf8d026a6cf8b42a9d8.tar.gz
llvm-cd1d5aaf2e317122ddb08bf8d026a6cf8b42a9d8.tar.bz2
Replace a few more "fall through" comments with LLVM_FALLTHROUGH
Follow up to r278902. I had missed "fall through", with a space. llvm-svn: 278970
Diffstat (limited to 'llvm/lib/Transforms/IPO/MergeFunctions.cpp')
-rw-r--r--llvm/lib/Transforms/IPO/MergeFunctions.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/IPO/MergeFunctions.cpp b/llvm/lib/Transforms/IPO/MergeFunctions.cpp
index fe653a7..726786a 100644
--- a/llvm/lib/Transforms/IPO/MergeFunctions.cpp
+++ b/llvm/lib/Transforms/IPO/MergeFunctions.cpp
@@ -828,6 +828,7 @@ int FunctionComparator::cmpTypes(Type *TyL, Type *TyR) const {
default:
llvm_unreachable("Unknown type!");
// Fall through in Release mode.
+ LLVM_FALLTHROUGH;
case Type::IntegerTyID:
return cmpNumbers(cast<IntegerType>(TyL)->getBitWidth(),
cast<IntegerType>(TyR)->getBitWidth());