If a identifier has a correct prefix/suffix but a bad case, the fix won't strip them when computing the correct case, leading to duplication when the are added back.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D98521
[clang-tidy] Fix readability-identifer-naming duplicating prefix or suffix for replacements. ClosedPublic Authored by njames93 on Mar 12 2021, 9:30 AM.
Details Summary If a identifier has a correct prefix/suffix but a bad case, the fix won't strip them when computing the correct case, leading to duplication when the are added back.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 15 2021, 5:40 AM Closed by commit rG0333dde923c4: [clang-tidy] Fix readability-identifer-naming duplicating prefix or suffix for… (authored by njames93). · Explain WhyMar 15 2021, 7:21 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 330652 clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
clang-tools-extra/test/clang-tidy/checkers/readability-identifier-naming.cpp
|