[PATCH] D40715: [analyser] different.LabelInsideSwitch checker implementation
Alexey Knyshev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 10 04:33:14 PST 2017
alexey.knyshev updated this revision to Diff 126293.
alexey.knyshev added a comment.
1. Now implemented via MatchFinder
2. Added missing License header
3. Pass all StringRefs by value
4. Method names now start from small letter
5. Using StringRef::edit_distance instead of custom "similarity" metric
6. Various other formating fixes
Repository:
rC Clang
https://reviews.llvm.org/D40715
Files:
include/clang/StaticAnalyzer/Checkers/Checkers.td
lib/StaticAnalyzer/Checkers/CMakeLists.txt
lib/StaticAnalyzer/Checkers/LabelInsideSwitchChecker.cpp
test/Analysis/label-inside-switch.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40715.126293.patch
Type: text/x-patch
Size: 6376 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171210/bff783f2/attachment.bin>
More information about the cfe-commits
mailing list