[libcxx-commits] [clang] [libcxx] [clang] Add -Wimplicit-fallthrough to -Wextra (PR #97926)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jul 27 10:08:48 PDT 2024


Max =?utf-8?b?8J+RqPCfj73igI3wn5K7?= Copl
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/97926 at github.com>


================
@@ -3921,7 +3921,7 @@ _ForwardIterator basic_regex<_CharT, _Traits>::__parse_character_escape(
       if (__hd == -1)
         __throw_regex_error<regex_constants::error_escape>();
       __sum = 16 * __sum + static_cast<unsigned>(__hd);
-      // fallthrough
+    [[clang::fallthrough]];
----------------
mordante wrote:

Can you remove this change, since you've already created a separate PR for it?

https://github.com/llvm/llvm-project/pull/97926


More information about the libcxx-commits mailing list