[PATCH] D16152: [clang-tidy] Add check performance-faster-string-find
Samuel Benzaquen via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 13 13:00:50 PST 2016
sbenza created this revision.
sbenza added a reviewer: alexfh.
sbenza added a subscriber: cfe-commits.
Add check performance-faster-string-find.
It replaces single character string literals to character literals in calls to string::find and friends.
http://reviews.llvm.org/D16152
Files:
clang-tidy/performance/CMakeLists.txt
clang-tidy/performance/FasterStringFindCheck.cpp
clang-tidy/performance/FasterStringFindCheck.h
clang-tidy/performance/PerformanceTidyModule.cpp
docs/clang-tidy/checks/list.rst
docs/clang-tidy/checks/performance-faster-string-find.rst
test/clang-tidy/performance-faster-string-find.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16152.44780.patch
Type: text/x-patch
Size: 9774 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160113/a9cfac8e/attachment-0001.bin>
More information about the cfe-commits
mailing list