[PATCH] D90282: [clang-tidy] Add IgnoreShortNames config to identifier naming checks
Shane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 14 21:13:46 PST 2020
smhc added a comment.
I updated it to use XXShortSizeThreshold.
But I was thinking.. perhaps a more generic approach could be "xxIgnoreRegex", this would allow you to do things such as :
VariableIgnoreRegex: ([a-z]{2}|index)
ClassIgnoreRegex: (Special_CASE|CommonOther.*)
etc.
it would be more generic while also allowing for excluding short names.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90282/new/
https://reviews.llvm.org/D90282
More information about the cfe-commits
mailing list