[clang-tidy] Abseil: faster strsplit delimiter check
authorHaojian Wu <hokein@google.com>
Wed, 22 Aug 2018 13:58:25 +0000 (13:58 +0000)
committerHaojian Wu <hokein@google.com>
Wed, 22 Aug 2018 13:58:25 +0000 (13:58 +0000)
commit279d72d37d3ded6dec3f67f6aee91147453b3a63
tree640495c7d6a9ab2c027fabd9f08e7f53a230076d
parent22abe49fffe07e9db5f88fc82f513818624d7301
[clang-tidy] Abseil: faster strsplit delimiter check

This check is an abseil specific check that checks for code using single character string literals as delimiters and transforms the code into characters.

The check was developed internally and has been running at google, this is just
a move to open source the check. It was originally written by @sbenza.

Patch by Deanna Garcia!

llvm-svn: 340411
clang-tools-extra/clang-tidy/abseil/AbseilTidyModule.cpp
clang-tools-extra/clang-tidy/abseil/CMakeLists.txt
clang-tools-extra/clang-tidy/abseil/FasterStrsplitDelimiterCheck.cpp [new file with mode: 0644]
clang-tools-extra/clang-tidy/abseil/FasterStrsplitDelimiterCheck.h [new file with mode: 0644]
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/abseil-faster-strsplit-delimiter.rst [new file with mode: 0644]
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/test/clang-tidy/abseil-faster-strsplit-delimiter.cpp [new file with mode: 0644]