[PATCH] D43847: [tidy] Add check: replace string::find(...) == 0 with absl::StartsWith

Niko Weh via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 27 17:29:01 PST 2018


niko created this revision.
niko added reviewers: ioeric, hokein.
Herald added subscribers: cfe-commits, mgorny.

Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D43847

Files:
  clang-tidy/CMakeLists.txt
  clang-tidy/absl/AbslTidyModule.cpp
  clang-tidy/absl/CMakeLists.txt
  clang-tidy/absl/StringFindStartswithCheck.cpp
  clang-tidy/absl/StringFindStartswithCheck.h
  clang-tidy/plugin/CMakeLists.txt
  clang-tidy/tool/CMakeLists.txt
  clang-tidy/tool/ClangTidyMain.cpp
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/absl-string-find-startswith.rst
  docs/clang-tidy/checks/list.rst
  test/clang-tidy/absl-string-find-startswith.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43847.136204.patch
Type: text/x-patch
Size: 13301 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180228/92c9efb7/attachment.bin>


More information about the cfe-commits mailing list