[PATCH] D57966: [clang-tidy] add camelBackOrCase casing style to readability-identifier-naming to support change to variable naming policy (if adopted)
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 8 11:31:28 PST 2019
MyDeveloperDay created this revision.
MyDeveloperDay added reviewers: michaelplatings, aaron.ballman, JonasToth, hokein.
MyDeveloperDay added a project: clang-tools-extra.
Herald added a subscriber: xazax.hun.
Herald added a project: clang.
Introduction of a new variable policy (as outlined in D57896: Variable names rule <https://reviews.llvm.org/D57896>) could lead to clang tidy complaining about 1000's of variables
Consider add a new casing style to `readability-identifier-naming` to support allowing either `camelBack` and `camelCase` styles which could be applied to the VariableCase option in the LLVM .clang-tidy files
Users wishing to convert their files to new policy would simply change this setting to `camelBack` and run with -fix
Depends on D57896 <https://reviews.llvm.org/D57896>
rCTE Clang Tools Extra
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 12612 bytes
Desc: not available
More information about the cfe-commits