[PATCH] D90180: [clang-tidy] find/fix unneeded semicolon after switch
Tom Rix via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 26 16:49:42 PDT 2020
trixirt updated this revision to Diff 300830.
trixirt added a comment.
Comment on the matcher
Comment explaining need to look for empty macro
Add test for normal switch
Add test for switch with empty macro
Fix formatting
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90180/new/
https://reviews.llvm.org/D90180
Files:
clang-tools-extra/clang-tidy/linuxkernel/CMakeLists.txt
clang-tools-extra/clang-tidy/linuxkernel/LinuxKernelTidyModule.cpp
clang-tools-extra/clang-tidy/linuxkernel/SwitchSemiCheck.cpp
clang-tools-extra/clang-tidy/linuxkernel/SwitchSemiCheck.h
clang-tools-extra/test/clang-tidy/checkers/linuxkernel-switch-semi.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90180.300830.patch
Type: text/x-patch
Size: 6070 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201026/751cfdff/attachment.bin>
More information about the cfe-commits
mailing list