summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Demangle/ItaniumDemangle.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-12-19 22:05:25 +0000
committerAdrian Prantl <aprantl@apple.com>2017-12-19 22:05:25 +0000
commit0e6694d111b6d3c0438f2b72fab6d10b7b4eab6c (patch)
tree1f121135fb5c07575653076be40e123c9d247244 /llvm/lib/Demangle/ItaniumDemangle.cpp
parentf81727d138b3b216c4db06ab8b01d67de6580525 (diff)
downloadbcm5719-llvm-0e6694d111b6d3c0438f2b72fab6d10b7b4eab6c.tar.gz
bcm5719-llvm-0e6694d111b6d3c0438f2b72fab6d10b7b4eab6c.zip
Silence a bunch of implicit fallthrough warnings
llvm-svn: 321114
Diffstat (limited to 'llvm/lib/Demangle/ItaniumDemangle.cpp')
-rw-r--r--llvm/lib/Demangle/ItaniumDemangle.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Demangle/ItaniumDemangle.cpp b/llvm/lib/Demangle/ItaniumDemangle.cpp
index 34f4017d982..9c2258f5b93 100644
--- a/llvm/lib/Demangle/ItaniumDemangle.cpp
+++ b/llvm/lib/Demangle/ItaniumDemangle.cpp
@@ -8,6 +8,7 @@
//===----------------------------------------------------------------------===//
#include "llvm/Demangle/Demangle.h"
+#include "llvm/Support/Compiler.h"
// This file exports a single function: llvm::itanium_demangle.
// It also has no dependencies on the rest of llvm. It is implemented this way
@@ -1947,7 +1948,7 @@ static const char *parse_type(const char *first, const char *last, C &db) {
break;
}
}
- // falls through
+ LLVM_FALLTHROUGH;
default:
// must check for builtin-types before class-enum-types to avoid
// ambiguities with operator-names
OpenPOWER on IntegriCloud