cxa_demangle: fix -Wimplicit-fallthrough for GCC:7

Use the C++11 (formalised in C++17) tag to indicate a fallthrough in the
switch case.  Silences a -Wimplicit-fallthrough warning with gcc:7

llvm-svn: 305173
This commit is contained in:
Saleem Abdulrasool 2017-06-11 22:57:31 +00:00
parent 52bb919615
commit d1c2302fc5
1 changed files with 1 additions and 1 deletions

View File

@ -2258,7 +2258,7 @@ parse_type(const char* first, const char* last, C& db)
break;
}
}
// drop through
[[gnu::fallthrough]];
default:
// must check for builtin-types before class-enum-types to avoid
// ambiguities with operator-names