|
1 | | -Checks: > |
2 | | - bugprone-*, |
3 | | - cert-dcl50-cpp, |
4 | | - cert-dcl58-cpp, |
5 | | - cert-env33-c, |
6 | | - cert-err34-c, |
7 | | - cert-err52-cpp, |
8 | | - cert-err60-cpp, |
9 | | - cert-flp30-c, |
10 | | - cert-mem57-cpp, |
11 | | - cert-msc50-cpp, |
12 | | - cert-msc51-cpp, |
13 | | - cert-oop57-cpp, |
14 | | - cert-oop58-cpp, |
15 | | - concurrency-*, |
16 | | - cppcoreguidelines-*, |
17 | | - google-*, |
18 | | - llvm-include-order, |
19 | | - llvm-namespace-comment, |
20 | | - misc-*, |
21 | | - modernize-*, |
22 | | - mpi-*, |
23 | | - openmp-*, |
24 | | - performance-*, |
25 | | - portability-*, |
26 | | - readability-*, |
27 | | - -bugprone-casting-through-void, |
28 | | - -bugprone-easily-swappable-parameters, |
29 | | - -cppcoreguidelines-avoid-magic-numbers, |
30 | | - -cppcoreguidelines-non-private-member-variables-in-classes, |
31 | | - -cppcoreguidelines-owning-memory, |
32 | | - -cppcoreguidelines-pro-bounds-pointer-arithmetic, |
33 | | - -cppcoreguidelines-pro-type-reinterpret-cast, |
34 | | - -cppcoreguidelines-pro-type-vararg, |
35 | | - -cppcoreguidelines-special-member-functions, |
36 | | - -misc-const-correctness, |
37 | | - -misc-non-private-member-variables-in-classes, |
38 | | - -modernize-avoid-c-arrays, |
39 | | - -modernize-use-trailing-return-type, |
40 | | - -portability-avoid-pragma-once, |
41 | | - -portability-template-virtual-member-function, |
42 | | - -readability-magic-numbers |
43 | | -
|
44 | | -WarningsAsErrors: "*" |
45 | | -HeaderFilterRegex: '.*/(modules|tasks)/.*' |
46 | | - |
47 | | -CheckOptions: |
48 | | - - key: readability-identifier-naming.ClassCase |
49 | | - value: CamelCase |
50 | | - - key: readability-identifier-naming.ClassMemberCase |
51 | | - value: lower_case |
52 | | - - key: readability-identifier-naming.ConstexprVariableCase |
53 | | - value: CamelCase |
54 | | - - key: readability-identifier-naming.ConstexprVariablePrefix |
55 | | - value: k |
56 | | - - key: readability-identifier-naming.EnumCase |
57 | | - value: CamelCase |
58 | | - - key: readability-identifier-naming.EnumConstantCase |
59 | | - value: CamelCase |
60 | | - - key: readability-identifier-naming.EnumConstantPrefix |
61 | | - value: k |
62 | | - - key: readability-identifier-naming.FunctionCase |
63 | | - value: CamelCase |
64 | | - - key: readability-identifier-naming.GlobalConstantCase |
65 | | - value: CamelCase |
66 | | - - key: readability-identifier-naming.GlobalConstantPrefix |
67 | | - value: k |
68 | | - - key: readability-identifier-naming.StaticConstantCase |
69 | | - value: CamelCase |
70 | | - - key: readability-identifier-naming.StaticConstantPrefix |
71 | | - value: k |
72 | | - - key: readability-identifier-naming.StaticVariableCase |
73 | | - value: lower_case |
74 | | - - key: readability-identifier-naming.MacroDefinitionCase |
75 | | - value: UPPER_CASE |
76 | | - - key: readability-identifier-naming.MacroDefinitionIgnoredRegexp |
77 | | - value: '^[A-Z]+(_[A-Z]+)*_$' |
78 | | - - key: readability-identifier-naming.MemberCase |
79 | | - value: lower_case |
80 | | - - key: readability-identifier-naming.PrivateMemberSuffix |
81 | | - value: _ |
82 | | - - key: readability-identifier-naming.PublicMemberSuffix |
83 | | - value: '' |
84 | | - - key: readability-identifier-naming.NamespaceCase |
85 | | - value: lower_case |
86 | | - - key: readability-identifier-naming.ParameterCase |
87 | | - value: lower_case |
88 | | - - key: readability-identifier-naming.TypeAliasCase |
89 | | - value: CamelCase |
90 | | - - key: readability-identifier-naming.TypedefCase |
91 | | - value: CamelCase |
92 | | - - key: readability-identifier-naming.VariableCase |
93 | | - value: lower_case |
94 | | - - key: readability-identifier-naming.IgnoreMainLikeFunctions |
95 | | - value: 1 |
96 | | - # Functions with scores beyond 15 are typically flagged as potentially problematic (empirically) |
97 | | - - key: readability-function-cognitive-complexity.Threshold |
98 | | - value: 15 # default: 25 |
99 | | - - key: readability-identifier-length.MinimumVariableNameLength |
100 | | - value: 1 |
101 | | - - key: readability-identifier-length.MinimumParameterNameLength |
102 | | - value: 1 |
103 | | - - key: misc-include-cleaner.IgnoreHeaders |
104 | | - value: '(__chrono/.*|stdlib\.h|3rdparty/.*)' |
| 1 | +Checks: > |
| 2 | + bugprone-*, |
| 3 | + cert-dcl50-cpp, |
| 4 | + cert-dcl58-cpp, |
| 5 | + cert-env33-c, |
| 6 | + cert-err34-c, |
| 7 | + cert-err52-cpp, |
| 8 | + cert-err60-cpp, |
| 9 | + cert-flp30-c, |
| 10 | + cert-mem57-cpp, |
| 11 | + cert-msc50-cpp, |
| 12 | + cert-msc51-cpp, |
| 13 | + cert-oop57-cpp, |
| 14 | + cert-oop58-cpp, |
| 15 | + concurrency-*, |
| 16 | + cppcoreguidelines-*, |
| 17 | + google-*, |
| 18 | + llvm-include-order, |
| 19 | + llvm-namespace-comment, |
| 20 | + misc-*, |
| 21 | + modernize-*, |
| 22 | + mpi-*, |
| 23 | + openmp-*, |
| 24 | + performance-*, |
| 25 | + portability-*, |
| 26 | + readability-*, |
| 27 | + -bugprone-casting-through-void, |
| 28 | + -bugprone-easily-swappable-parameters, |
| 29 | + -cppcoreguidelines-avoid-magic-numbers, |
| 30 | + -cppcoreguidelines-non-private-member-variables-in-classes, |
| 31 | + -cppcoreguidelines-owning-memory, |
| 32 | + -cppcoreguidelines-pro-bounds-pointer-arithmetic, |
| 33 | + -cppcoreguidelines-pro-type-reinterpret-cast, |
| 34 | + -cppcoreguidelines-pro-type-vararg, |
| 35 | + -cppcoreguidelines-special-member-functions, |
| 36 | + -misc-const-correctness, |
| 37 | + -misc-non-private-member-variables-in-classes, |
| 38 | + -modernize-avoid-c-arrays, |
| 39 | + -modernize-use-trailing-return-type, |
| 40 | + -portability-avoid-pragma-once, |
| 41 | + -portability-template-virtual-member-function, |
| 42 | + -readability-magic-numbers |
| 43 | +
|
| 44 | +WarningsAsErrors: "*" |
| 45 | +HeaderFilterRegex: '.*/(modules|tasks)/.*' |
| 46 | + |
| 47 | +CheckOptions: |
| 48 | + - key: readability-identifier-naming.ClassCase |
| 49 | + value: CamelCase |
| 50 | + - key: readability-identifier-naming.ClassMemberCase |
| 51 | + value: lower_case |
| 52 | + - key: readability-identifier-naming.ConstexprVariableCase |
| 53 | + value: CamelCase |
| 54 | + - key: readability-identifier-naming.ConstexprVariablePrefix |
| 55 | + value: k |
| 56 | + - key: readability-identifier-naming.EnumCase |
| 57 | + value: CamelCase |
| 58 | + - key: readability-identifier-naming.EnumConstantCase |
| 59 | + value: CamelCase |
| 60 | + - key: readability-identifier-naming.EnumConstantPrefix |
| 61 | + value: k |
| 62 | + - key: readability-identifier-naming.FunctionCase |
| 63 | + value: CamelCase |
| 64 | + - key: readability-identifier-naming.GlobalConstantCase |
| 65 | + value: CamelCase |
| 66 | + - key: readability-identifier-naming.GlobalConstantPrefix |
| 67 | + value: k |
| 68 | + - key: readability-identifier-naming.StaticConstantCase |
| 69 | + value: CamelCase |
| 70 | + - key: readability-identifier-naming.StaticConstantPrefix |
| 71 | + value: k |
| 72 | + - key: readability-identifier-naming.StaticVariableCase |
| 73 | + value: lower_case |
| 74 | + - key: readability-identifier-naming.MacroDefinitionCase |
| 75 | + value: UPPER_CASE |
| 76 | + - key: readability-identifier-naming.MacroDefinitionIgnoredRegexp |
| 77 | + value: '^[A-Z]+(_[A-Z]+)*_$' |
| 78 | + - key: readability-identifier-naming.MemberCase |
| 79 | + value: lower_case |
| 80 | + - key: readability-identifier-naming.PrivateMemberSuffix |
| 81 | + value: _ |
| 82 | + - key: readability-identifier-naming.PublicMemberSuffix |
| 83 | + value: '' |
| 84 | + - key: readability-identifier-naming.NamespaceCase |
| 85 | + value: lower_case |
| 86 | + - key: readability-identifier-naming.ParameterCase |
| 87 | + value: lower_case |
| 88 | + - key: readability-identifier-naming.TypeAliasCase |
| 89 | + value: CamelCase |
| 90 | + - key: readability-identifier-naming.TypedefCase |
| 91 | + value: CamelCase |
| 92 | + - key: readability-identifier-naming.VariableCase |
| 93 | + value: lower_case |
| 94 | + - key: readability-identifier-naming.IgnoreMainLikeFunctions |
| 95 | + value: 1 |
| 96 | + # Functions with scores beyond 15 are typically flagged as potentially problematic (empirically) |
| 97 | + - key: readability-function-cognitive-complexity.Threshold |
| 98 | + value: 15 # default: 25 |
| 99 | + - key: readability-identifier-length.MinimumVariableNameLength |
| 100 | + value: 1 |
| 101 | + - key: readability-identifier-length.MinimumParameterNameLength |
| 102 | + value: 1 |
| 103 | + - key: misc-include-cleaner.IgnoreHeaders |
| 104 | + value: '(__chrono/.*|stdlib\.h|3rdparty/.*)' |
0 commit comments