This patch improves the check to match the desugared "string" type (so that it
can handle custom-implemented string classes), see the newly-added test.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D47704
[clang-tidy] Improve string type matcher for abseil-string-find-starts-with check. ClosedPublic Authored by hokein on Jun 4 2018, 4:31 AM.
Details Summary This patch improves the check to match the desugared "string" type (so that it
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 7 2018, 7:18 AM Closed by commit rL334270: [clang-tidy] Improve string type matcher for abseil-string-find-starts-with… (authored by hokein). · Explain WhyJun 8 2018, 1:23 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 150461 clang-tools-extra/trunk/clang-tidy/abseil/StringFindStartswithCheck.cpp
clang-tools-extra/trunk/test/clang-tidy/abseil-string-find-startswith.cpp
|