11Checks : >
22 bugprone-*,
3- clang-diagnostic-*,
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,
415 concurrency-*,
516 cppcoreguidelines-*,
17+ google-*,
618 llvm-include-order,
719 llvm-namespace-comment,
820 misc-*,
@@ -25,67 +37,68 @@ Checks: >
2537 -misc-non-private-member-variables-in-classes,
2638 -modernize-avoid-c-arrays,
2739 -modernize-use-trailing-return-type,
40+ -portability-avoid-pragma-once,
2841 -portability-template-virtual-member-function,
2942 -readability-magic-numbers
3043
3144WarningsAsErrors : " *"
3245HeaderFilterRegex : ' .*/(modules|tasks)/.*'
3346
3447CheckOptions :
35- - key : readability-identifier-naming.ClassCase
36- value : CamelCase
37- - key : readability-identifier-naming.ClassMemberCase
38- value : lower_case
39- - key : readability-identifier-naming.ConstexprVariableCase
40- value : CamelCase
41- - key : readability-identifier-naming.ConstexprVariablePrefix
42- value : k
43- - key : readability-identifier-naming.EnumCase
44- value : CamelCase
45- - key : readability-identifier-naming.EnumConstantCase
46- value : CamelCase
47- - key : readability-identifier-naming.EnumConstantPrefix
48- value : k
49- - key : readability-identifier-naming.FunctionCase
50- value : CamelCase
51- - key : readability-identifier-naming.GlobalConstantCase
52- value : CamelCase
53- - key : readability-identifier-naming.GlobalConstantPrefix
54- value : k
55- - key : readability-identifier-naming.StaticConstantCase
56- value : CamelCase
57- - key : readability-identifier-naming.StaticConstantPrefix
58- value : k
59- - key : readability-identifier-naming.StaticVariableCase
60- value : lower_case
61- - key : readability-identifier-naming.MacroDefinitionCase
62- value : UPPER_CASE
63- - key : readability-identifier-naming.MacroDefinitionIgnoredRegexp
64- value : ' ^[A-Z]+(_[A-Z]+)*_$'
65- - key : readability-identifier-naming.MemberCase
66- value : lower_case
67- - key : readability-identifier-naming.PrivateMemberSuffix
68- value : _
69- - key : readability-identifier-naming.PublicMemberSuffix
70- value : ' '
71- - key : readability-identifier-naming.NamespaceCase
72- value : lower_case
73- - key : readability-identifier-naming.ParameterCase
74- value : lower_case
75- - key : readability-identifier-naming.TypeAliasCase
76- value : CamelCase
77- - key : readability-identifier-naming.TypedefCase
78- value : CamelCase
79- - key : readability-identifier-naming.VariableCase
80- value : lower_case
81- - key : readability-identifier-naming.IgnoreMainLikeFunctions
82- value : 1
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
8396 # Functions with scores beyond 15 are typically flagged as potentially problematic (empirically)
84- - key : readability-function-cognitive-complexity.Threshold
85- value : 15 # default: 25
86- - key : readability-identifier-length.MinimumVariableNameLength
87- value : 1
88- - key : readability-identifier-length.MinimumParameterNameLength
89- value : 1
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
90103 - key : misc-include-cleaner.IgnoreHeaders
91104 value : ' (__chrono/.*|stdlib\.h|3rdparty/.*)'
0 commit comments