[PATCH] D80023: [clang-tidy] Add abseil-string-find-str-contains checker.
Eugene Zelenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 19 12:37:06 PDT 2020
Eugene.Zelenko added inline comments.
================
Comment at: clang-tools-extra/docs/ReleaseNotes.rst:82
+
+ Finds s.find(...) == string::npos comparisons (for various string-like types)
+ and suggests replacing with absl::StrContains.
----------------
Please use double back-ticks to highlight language constructs. Same in documentation.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80023/new/
https://reviews.llvm.org/D80023
More information about the cfe-commits
mailing list