[clang-tidy] performance-faster-string-find string-view
authorNathan James <n.james93@hotmail.co.uk>
Tue, 30 Jun 2020 15:45:58 +0000 (16:45 +0100)
committerNathan James <n.james93@hotmail.co.uk>
Tue, 30 Jun 2020 15:45:59 +0000 (16:45 +0100)
commit2efba0e8122aeca29f878c0e3056a4552d20c720
tree6cab3b605d41210d9c7d70f4aff7996edc878756
parent423458ec09d647050f756e3ee4ca06901239d87c
[clang-tidy] performance-faster-string-find string-view

Extend the default string like classes to include `std::basic_string_view`.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D82720
clang-tools-extra/clang-tidy/performance/FasterStringFindCheck.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/performance-faster-string-find.rst
clang-tools-extra/test/clang-tidy/checkers/performance-faster-string-find.cpp