Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang-tidy: prefix member variables by m #1038

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,17 @@ CheckOptions:
value: camelBack
- key: readability-identifier-naming.NamespaceCase
value: camelBack
- key: readability-identifier-naming.MemberCase
value: camelBack
- key: readability-identifier-naming.MethodCase
value: camelBack
- key: readability-identifier-naming.ParameterCase
value: camelBack
- key: readability-identifier-naming.VariableCase
value: camelBack
# mCamelCase is essentially camelBack but clang-tidy doesn't understand it
- key: readability-identifier-naming.MemberPrefix
value: m
- key: readability-identifier-naming.MemberCase
value: CamelCase

- key: readability-identifier-naming.GlobalConstantCase
value: UPPER_CASE
Expand Down
Loading
Loading