diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-06-15 20:18:10 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-06-15 20:18:10 +0000 |
commit | 96504b12c3792a2d0ca56f581525ace06ceda9d3 (patch) | |
tree | f61ea62ee9bdccd2d9809df55ead43febf2205aa /src | |
parent | 878d4bb691e2f966d2a111fd84380c58e1978084 (diff) |
Use _LIBCPP_FALLTHROUGH() to avoid warnings about [[gnu::fallthrough]] being unsupported
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@305500 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'src')
-rw-r--r-- | src/cxa_demangle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cxa_demangle.cpp b/src/cxa_demangle.cpp index a2c384e..6673931 100644 --- a/src/cxa_demangle.cpp +++ b/src/cxa_demangle.cpp @@ -2258,7 +2258,7 @@ parse_type(const char* first, const char* last, C& db) break; } } - [[gnu::fallthrough]]; + _LIBCPP_FALLTHROUGH(); default: // must check for builtin-types before class-enum-types to avoid // ambiguities with operator-names |