[libcxxabi] r305500 - Use _LIBCPP_FALLTHROUGH() to avoid warnings about [[gnu::fallthrough]] being unsupported
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 15 13:18:10 PDT 2017
Author: ericwf
Date: Thu Jun 15 15:18:10 2017
New Revision: 305500
URL: http://llvm.org/viewvc/llvm-project?rev=305500&view=rev
Log:
Use _LIBCPP_FALLTHROUGH() to avoid warnings about [[gnu::fallthrough]] being unsupported
Modified:
libcxxabi/trunk/src/cxa_demangle.cpp
Modified: libcxxabi/trunk/src/cxa_demangle.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/cxa_demangle.cpp?rev=305500&r1=305499&r2=305500&view=diff
==============================================================================
--- libcxxabi/trunk/src/cxa_demangle.cpp (original)
+++ libcxxabi/trunk/src/cxa_demangle.cpp Thu Jun 15 15:18:10 2017
@@ -2258,7 +2258,7 @@ parse_type(const char* first, const char
break;
}
}
- [[gnu::fallthrough]];
+ _LIBCPP_FALLTHROUGH();
default:
// must check for builtin-types before class-enum-types to avoid
// ambiguities with operator-names
More information about the cfe-commits
mailing list