Skip to content
Snippets Groups Projects

Wrong formatting settings clang-tidy in C++ template project

Merged Hannes Feldt requested to merge CWG-48-fix_clang-tidy into main
2 unresolved threads
Files
3
+ 10
7
Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-const-correctness,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-misc-no-recursion,readability-identifier-naming'
Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-const-correctness,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-misc-no-recursion,readability-identifier-naming,readability-braces-around-statements'
CheckOptions:
CheckOptions:
- key: readability-identifier-naming.ClassCase
- key: readability-identifier-naming.ClassCase
value: CamelCase
value: CamelCase
- key: readability-identifier-naming.EnumCase
- key: readability-identifier-naming.EnumCase
value: CamelCase
value: CamelCase
 
- key: readability-identifier-naming.UnionCase
 
value: CamelCase
 
# Within ASTRON no specific casing is used. Feel free to adjust
 
# following casings to camelBack for existing projects or
 
# personal/team preferences.
    • Comment on lines +9 to +11

      It's been a while since I did active C++ development within ASTRON. But we used to have some standards:

      • Class names in CamelCase
      • (Member) function names in snakeCase
      • Class variables start their name with the prefix its (or their for static class variables)

      Insights may have changed, though. @wever should now about current SKA conventions (which are not necessarily ASTRON's conventions).

Please register or sign in to reply
- key: readability-identifier-naming.FunctionCase
- key: readability-identifier-naming.FunctionCase
value: camelBack
value: lower_case
- key: readability-identifier-naming.MemberCase
- key: readability-identifier-naming.MemberCase
value: CamelCase
value: lower_case
- key: readability-identifier-naming.ParameterCase
- key: readability-identifier-naming.ParameterCase
value: CamelCase
value: lower_case
- key: readability-identifier-naming.UnionCase
value: CamelCase
- key: readability-identifier-naming.VariableCase
- key: readability-identifier-naming.VariableCase
value: CamelCase
value: lower_case
Loading