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 | 187fd40ca4e89d0fa780d2b9db76e7be0b94950c (patch) | |
tree | 9f138550e888119db3f448a866716393c97584da /libcxxabi | |
parent | cb0d5dc01fe9d67a2fc369edab69871cd567d317 (diff) | |
download | llvm-187fd40ca4e89d0fa780d2b9db76e7be0b94950c.zip llvm-187fd40ca4e89d0fa780d2b9db76e7be0b94950c.tar.gz llvm-187fd40ca4e89d0fa780d2b9db76e7be0b94950c.tar.bz2 |
Use _LIBCPP_FALLTHROUGH() to avoid warnings about [[gnu::fallthrough]] being unsupported
llvm-svn: 305500
Diffstat (limited to 'libcxxabi')
-rw-r--r-- | libcxxabi/src/cxa_demangle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxxabi/src/cxa_demangle.cpp b/libcxxabi/src/cxa_demangle.cpp index a2c384e..6673931c 100644 --- a/libcxxabi/src/cxa_demangle.cpp +++ b/libcxxabi/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 |