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


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to