diff options
Diffstat (limited to 'lib/Demangle/ItaniumDemangle.cpp')
| -rw-r--r-- | lib/Demangle/ItaniumDemangle.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Demangle/ItaniumDemangle.cpp b/lib/Demangle/ItaniumDemangle.cpp index 34f4017d98283..9c2258f5b9331 100644 --- a/lib/Demangle/ItaniumDemangle.cpp +++ b/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  | 
