|
1 | | -Checks: |
2 | | - - modernize-use-using |
3 | | - - readability-avoid-const-params-in-decls |
4 | | - - misc-unused-parameters, |
5 | | - - readability-identifier-naming |
| 1 | +FormatStyle: file |
6 | 2 |
|
7 | | -# ^ Without unused-parameters the readability-identifier-naming check doesn't cause any warnings. |
| 3 | +Checks: |
| 4 | + "bugprone-*,clang-analyzer-*,cppcoreguidelines-*,hicpp-*,misc-*,modernize-*,performance-*,portability-*,readability-*, |
| 5 | + -*-magic-numbers, |
| 6 | + -*-non-private-member-variables-in-classes, |
| 7 | + -*-special-member-functions, |
| 8 | + -bugprone-easily-swappable-parameters, |
| 9 | + -cppcoreguidelines-owning-memory, |
| 10 | + -cppcoreguidelines-pro-type-static-cast-downcast, |
| 11 | + -modernize-use-nodiscard, |
| 12 | + -modernize-use-trailing-return-type, |
| 13 | + -portability-avoid-pragma-once, |
| 14 | + -readability-avoid-unconditional-preprocessor-if, |
| 15 | + -readability-function-cognitive-complexity, |
| 16 | + -readability-identifier-length, |
| 17 | + -readability-redundant-access-specifiers" |
8 | 18 |
|
9 | 19 | CheckOptions: |
10 | | - - { key: readability-identifier-naming.ClassCase, value: PascalCase } |
11 | | - - { key: readability-identifier-naming.EnumCase, value: PascalCase } |
12 | | - - { key: readability-identifier-naming.FunctionCase, value: camelCase } |
13 | | - - { key: readability-identifier-naming.GlobalVariableCase, value: camelCase } |
14 | | - - { key: readability-identifier-naming.GlobalFunctionCase, value: camelCase } |
15 | | - - { key: readability-identifier-naming.GlobalConstantCase, value: SCREAMING_SNAKE_CASE } |
16 | | - - { key: readability-identifier-naming.MacroDefinitionCase, value: SCREAMING_SNAKE_CASE } |
17 | | - - { key: readability-identifier-naming.ClassMemberCase, value: camelCase } |
18 | | - - { key: readability-identifier-naming.PrivateMemberPrefix, value: m_ } |
19 | | - - { key: readability-identifier-naming.ProtectedMemberPrefix, value: m_ } |
20 | | - - { key: readability-identifier-naming.PrivateStaticMemberPrefix, value: s_ } |
21 | | - - { key: readability-identifier-naming.ProtectedStaticMemberPrefix, value: s_ } |
22 | | - - { key: readability-identifier-naming.PublicStaticConstantCase, value: SCREAMING_SNAKE_CASE } |
23 | | - - { key: readability-identifier-naming.EnumConstantCase, value: PascalCase } |
| 20 | + misc-include-cleaner.MissingIncludes: false |
| 21 | + readability-identifier-naming.DefaultCase: "camelBack", |
| 22 | + readability-identifier-naming.NamespaceCase: "CamelCase" |
| 23 | + readability-identifier-naming.ClassCase: "CamelCase" |
| 24 | + readability-identifier-naming.ClassConstantCase: "CamelCase" |
| 25 | + readability-identifier-naming.EnumCase: "CamelCase" |
| 26 | + readability-identifier-naming.EnumConstantCase: "CamelCase" |
| 27 | + readability-identifier-naming.MacroDefinitionCase: "UPPER_CASE" |
| 28 | + readability-identifier-naming.ClassMemberPrefix: "m_" |
| 29 | + readability-identifier-naming.StaticConstantPrefix: "s_" |
| 30 | + readability-identifier-naming.StaticVariablePrefix: "s_" |
| 31 | + readability-identifier-naming.GlobalConstantPrefix: "g_" |
| 32 | + readability-implicit-bool-conversion.AllowPointerConditions: true |
0 commit comments