[PATCH] D145842: [clang][Sema] Avoid duplicate diagnostics for unreachable fallthrough attribute

Takuya Shimizu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 13 21:15:09 PDT 2023


hazohelet updated this revision to Diff 504933.
hazohelet added a comment.

Address comments from @aaron.ballman

- NFC stylistic changes

Thanks for the review! Since I don't have commit access, would you please land this patch for me?
Please use "Takuya Shimizu <shimizu2486 at gmail.com>" for the patch attribution.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145842/new/

https://reviews.llvm.org/D145842

Files:
  clang/docs/ReleaseNotes.rst
  clang/include/clang/Analysis/Analyses/ReachableCode.h
  clang/lib/Analysis/ReachableCode.cpp
  clang/lib/Sema/AnalysisBasedWarnings.cpp
  clang/test/Sema/warn-unreachable-fallthrough.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145842.504933.patch
Type: text/x-patch
Size: 5205 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230314/9c6b931b/attachment.bin>


More information about the cfe-commits mailing list