|
1 | 1 | CheckOptions: |
2 | | - - { key: CheckPathRegex, value: ".*/O2/.*" } |
3 | 2 | # Naming conventions |
4 | 3 | - { key: readability-identifier-naming.ClassCase, value: CamelCase } |
5 | 4 | - { key: readability-identifier-naming.ClassMemberPrefix, value: m } |
6 | 5 | - { key: readability-identifier-naming.ConceptCase, value: CamelCase } |
7 | 6 | - { key: readability-identifier-naming.ConstexprVariableCase, value: CamelCase } |
8 | | - - { key: readability-identifier-naming.ConstexprVariableIgnoredRegexp, value: "^k[A-Z].*$" } # Allow "k" prefix. |
| 7 | + - { key: readability-identifier-naming.ConstexprVariableIgnoredRegexp, value: "^k[A-Z][a-zA-Z0-9]*$" } # Allow "k" prefix. |
9 | 8 | - { key: readability-identifier-naming.EnumCase, value: CamelCase } |
10 | 9 | - { key: readability-identifier-naming.EnumConstantCase, value: CamelCase } |
11 | | - - { key: readability-identifier-naming.EnumConstantIgnoredRegexp, value: "^k[A-Z].*$" } # Allow "k" prefix. |
| 10 | + - { key: readability-identifier-naming.EnumConstantIgnoredRegexp, value: "^k?[A-Z][a-zA-Z0-9_]*$" } # Allow "k" prefix and underscores. |
12 | 11 | - { key: readability-identifier-naming.FunctionCase, value: camelBack } |
13 | 12 | - { key: readability-identifier-naming.MacroDefinitionCase, value: UPPER_CASE } |
14 | | - - { key: readability-identifier-naming.MacroDefinitionIgnoredRegexp, value: "^[A-Z]+(_[A-Z]+)*_$" } # Allow the trailing underscore in header guards. |
| 13 | + - { key: readability-identifier-naming.MacroDefinitionIgnoredRegexp, value: "^[A-Z][A-Z0-9_]*_$" } # Allow the trailing underscore in header guards. |
15 | 14 | - { key: readability-identifier-naming.MemberCase, value: camelBack } |
16 | 15 | - { key: readability-identifier-naming.NamespaceCase, value: lower_case } |
17 | 16 | - { key: readability-identifier-naming.ParameterCase, value: camelBack } |
|
0 commit comments