[PATCH] D68539: [clang-tidy] fix for readability-identifier-naming incorrectly fixes variables which become keywords
Daniel via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 13 07:18:17 PDT 2019
Daniel599 updated this revision to Diff 224783.
Daniel599 added a comment.
Added check for macro definition, please re-review the enum `ShouldFixStatus` as now I use it as a switch-case within the diagnostic message.
Thanks.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68539/new/
https://reviews.llvm.org/D68539
Files:
clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.h
clang-tools-extra/test/clang-tidy/readability-identifier-naming-bugfix-name-conflicts.cpp
clang/include/clang/Basic/IdentifierTable.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68539.224783.patch
Type: text/x-patch
Size: 7711 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191013/d501b01b/attachment.bin>
More information about the cfe-commits
mailing list