llvm/clang-tools-extra/test
Tom Lokovic 1fdb3e36ff abseil-string-find-str-contains should not propose an edit for the three-parameter version of find().
std::string, std::string_view, and absl::string_view all have a three-parameter version of find()
which has a "count" (or "n") paremeter limiting the size of the substring to search.  We don't want
to propose changing to absl::StrContains in those cases.  This change fixes that and adds unit tests
to confirm.

Reviewed By: ymandel

Differential Revision: https://reviews.llvm.org/D107837
2021-08-10 16:39:17 +00:00
..
clang-apply-replacements
clang-change-namespace
clang-doc
clang-include-fixer
clang-move
clang-query
clang-reorder-fields
clang-tidy abseil-string-find-str-contains should not propose an edit for the three-parameter version of find(). 2021-08-10 16:39:17 +00:00
modularize
pp-trace
Unit
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in