diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-12-24 01:04:58 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-12-24 01:04:58 +0000 |
commit | da09e106efc76da569f2bad3d59b6b19b503bf39 (patch) | |
tree | 3dc7690165275d86df8841532970801b0dc1230d /contrib/llvm/lib/Demangle/ItaniumDemangle.cpp | |
parent | fb142d88715c407bebf777730d5bd6cbf73e2bc7 (diff) | |
parent | c7dac04c3480f3c20487f912f77343139fce2d99 (diff) |
Notes
Diffstat (limited to 'contrib/llvm/lib/Demangle/ItaniumDemangle.cpp')
-rw-r--r-- | contrib/llvm/lib/Demangle/ItaniumDemangle.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/llvm/lib/Demangle/ItaniumDemangle.cpp b/contrib/llvm/lib/Demangle/ItaniumDemangle.cpp index 34f4017d9828..9c2258f5b933 100644 --- a/contrib/llvm/lib/Demangle/ItaniumDemangle.cpp +++ b/contrib/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 |