[clang] [Clang] Fix false-positive fallthrough warning (#230802) (PR #234848)
Adinesh Reddy via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 25 05:28:29 PDT 2026
================
@@ -458,9 +408,7 @@ documentation](CIR/index.md) for more information regarding ClangIR's status and
### Improvements to Clang's diagnostics
-- Fixed missing `-Wuninitialized-explicit-init` warnings for C file-scope
- tentative definitions of structure types which contain a field marked with
- the `require_explicit_initialization` attribute. (#GH232483)
+- Clang no longer emits a false-positive `-Wimplicit-fallthrough` warning when consecutive switch labels share a body and are annotated with attributes like `[[unlikely]]`. (#GH230802)
----------------
Adinesh-Reddy wrote:
can you check it once
https://github.com/llvm/llvm-project/pull/234848
More information about the cfe-commits
mailing list