Lift some common code used by multiple checkers.
This function is also used by checkers that are coming.
It is quite common for a checker to parse a list of names.
Paths
| Differential D19846
[clang-tidy] Lift parsing of sequence of names functions to utils. ClosedPublic Authored by etienneb on May 2 2016, 6:24 PM.
Details Summary Lift some common code used by multiple checkers. This function is also used by checkers that are coming.
Diff Detail Event Timelinealexfh edited edge metadata. alexfh added inline comments.
This revision now requires changes to proceed.May 3 2016, 1:47 AM etienneb edited edge metadata. etienneb marked 4 inline comments as done. Comment Actionsaddress alexfh comments alexfh edited edge metadata. Comment ActionsLooks good with one nit. Thank you!
This revision is now accepted and ready to land.May 10 2016, 6:52 AM
Revision Contents
Diff 56173 clang-tidy/misc/DanglingHandleCheck.cpp
clang-tidy/misc/SuspiciousStringCompareCheck.cpp
clang-tidy/performance/FasterStringFindCheck.cpp
clang-tidy/utils/CMakeLists.txt
clang-tidy/utils/OptionsUtils.h
clang-tidy/utils/OptionsUtils.cpp
|
Please add a comment that the KnownStringCompareFunctions string should end with a semicolon.