[PATCH] D91895: [Clang] avoid -Wimplicit-fallthrough for fallthrough to break
Nick Desaulniers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 20 14:59:25 PST 2020
nickdesaulniers updated this revision to Diff 306787.
nickdesaulniers added a comment.
- check the successor's terminator
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91895/new/
https://reviews.llvm.org/D91895
Files:
clang/lib/Sema/AnalysisBasedWarnings.cpp
clang/test/SemaCXX/switch-implicit-fallthrough-blocks.cpp
clang/test/SemaCXX/switch-implicit-fallthrough.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91895.306787.patch
Type: text/x-patch
Size: 3983 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201120/dfd0ef8b/attachment.bin>
More information about the cfe-commits
mailing list