[clang] [libcxx] [clang] Add -Wimplicit-fallthrough to -Wextra (PR #97926)
Mark de Wever via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 28 03:30:57 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:
> Sorry, I'm new to contributing to LLVM.
No problem! Welcome to LLVM!
> I will mark this PR as a Draft until the #100821 lands :)
Thanks!
https://github.com/llvm/llvm-project/pull/97926
More information about the cfe-commits
mailing list