1+ ---
2+ Checks : ' -*,
3+ clang-analyzer-core.*,
4+ clang-analyzer-cplusplus.*,
5+ modernize-redundant-void-arg,
6+ modernize-use-bool-literals,
7+ modernize-use-equals-default,
8+ modernize-use-nullptr,
9+ modernize-use-override,
10+ google-explicit-constructor,
11+ google-readability-casting,
12+ readability-braces-around-statements,
13+ readability-identifier-naming.ClassCase,
14+ readability-identifier-naming.StructCase,
15+ readability-identifier-naming.TypedefCase,
16+ readability-identifier-naming.EnumCase,
17+ readability-non-const-parameter,
18+ cert-dcl21-cpp,
19+ bugprone-undelegated-constructor,
20+ bugprone-macro-parentheses,
21+ bugprone-macro-repeated-side-effects,
22+ bugprone-forward-declaration-namespace,
23+ bugprone-bool-pointer-implicit-conversion,
24+ bugprone-misplaced-widening-cast,
25+ cppcoreguidelines-narrowing-conversions,
26+ cppcoreguidelines-pro-type-reinterpret-cast,
27+ misc-unconventional-assign-operator'
28+ WarningsAsErrors : ' '
29+ HeaderFilterRegex : ' '
30+ CheckOptions :
31+ - key : modernize-redundant-void-arg
32+ value : ' true'
33+ - key : modernize-use-bool-literals
34+ value : ' true'
35+ - key : modernize-use-equals-default
36+ value : ' true'
37+ - key : modernize-use-nullptr
38+ value : ' true'
39+ - key : modernize-use-override
40+ value : ' true'
41+ # Google
42+ - key : google-explicit-constructor
43+ value : ' true'
44+ - key : google-readability-casting
45+ value : ' true'
46+
47+ # Readability
48+ - key : readability-braces-around-statements
49+ value : ' true'
50+ - key : readability-identifier-naming.ClassCase
51+ value : ' CamelCase'
52+ - key : readability-identifier-naming.StructCase
53+ value : ' CamelCase'
54+ - key : readability-identifier-naming.TypedefCase
55+ value : ' CamelCase'
56+ - key : readability-identifier-naming.EnumCase
57+ value : ' CamelCase'
58+ - key : readability-non-const-parameter
59+ value : ' true'
60+
61+ # CERT
62+ - key : cert-dcl21-cpp
63+ value : ' true'
64+
65+ # Bugprone
66+ - key : bugprone-undelegated-constructor
67+ value : ' true'
68+ - key : bugprone-macro-parentheses
69+ value : ' true'
70+ - key : bugprone-macro-repeated-side-effects
71+ value : ' true'
72+ - key : bugprone-forward-declaration-namespace
73+ value : ' true'
74+ - key : bugprone-bool-pointer-implicit-conversion
75+ value : ' true'
76+ - key : bugprone-misplaced-widening-cast
77+ value : ' true'
78+
79+ # CppCoreGuidelines
80+ - key : cppcoreguidelines-narrowing-conversions
81+ value : ' true'
82+ - key : cppcoreguidelines-pro-type-reinterpret-cast
83+ value : ' true'
84+
85+ # Miscellaneous
86+ - key : misc-unconventional-assign-operator
87+ value : ' true'
0 commit comments