blob: dc72960fccce27d3ee02741e95112ef69baa9f48 [file] [log] [blame]
Nan Zhoue3d47cd2022-09-16 03:41:53 +00001Checks: '
2-*,
Jayanth Othayothb662bec2024-12-05 02:17:03 -06003bugprone-*,
4-bugprone-assignment-in-if-condition,
5-bugprone-easily-swappable-parameters,
6-bugprone-exception-escape,
7cert-*,
8-cert-err33-c,
9-cert-err58-cpp,
10clang-analyzer-*,
11-clang-analyzer-optin.*,
12-clang-analyzer-osx.*,
13-clang-analyzer-webkit.*,
14-clang-analyzer-apiModeling.StdCLibraryFunctions,
15-clang-analyzer-optin.cplusplus.VirtualCall,
16cppcoreguideline-*,
17-cppcoreguidelines-avoid-c-arrays,
18-cppcoreguidelines-avoid-non-const-global-variables,
19-cppcoreguidelines-explicit-virtual-functions,
20-cppcoreguidelines-no-malloc,
21-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
22-cppcoreguidelines-pro-bounds-pointer-arithmetic,
23-cppcoreguidelines-pro-type-reinterpret-cast,
24-cppcoreguidelines-pro-type-vararg,
25misc-*,
26-misc-const-correctness,
27-misc-include-cleaner,
28-misc-non-private-member-variables-in-classes,
29-misc-use-internal-linkage,
30modernize-*,
31-modernize-avoid-c-arrays,
32-modernize-concat-nested-namespaces,
33-modernize-pass-by-value,
34-modernize-use-auto,
35-modernize-use-override,
36-modernize-use-ranges,
37-modernize-use-trailing-return-type,
38performance-*,
39-performance-avoid-endl,
40-performance-enum-size,
41-performance-inefficient-string-concatenation,
42-performance-inefficient-vector-operation,
43-performance-move-const-arg,
44-performance-unnecessary-value-param,
45readability-*,
46-readability-avoid-const-params-in-decls,
47-readability-braces-around-statements,
48-readability-container-data-pointer,
49-readability-convert-member-functions-to-static,
50-readability-else-after-return,
51-readability-function-cognitive-complexity,
52-readability-identifier-length,
53-readability-implicit-bool-conversion,
54-readability-make-member-function-const,
55-readability-qualified-auto,
56-readability-redundant-inline-specifier,
57-readability-simplify-boolean-expr,
58-readability-uppercase-literal-suffix,
59'
Nan Zhoue3d47cd2022-09-16 03:41:53 +000060
Jayanth Othayothb662bec2024-12-05 02:17:03 -060061# Treat all warnings as errors
Nan Zhoue3d47cd2022-09-16 03:41:53 +000062WarningsAsErrors: '*'
Nan Zhoue3d47cd2022-09-16 03:41:53 +000063
Jayanth Othayothb662bec2024-12-05 02:17:03 -060064# Apply checks to all files
65HeaderFilterRegex: '.*'
Nan Zhoue3d47cd2022-09-16 03:41:53 +000066CheckOptions:
Jayanth Othayothb662bec2024-12-05 02:17:03 -060067 - { key: readability-identifier-naming.ClassCase, value: CamelCase }
68 - { key: readability-identifier-naming.EnumCase, value: CamelCase }
69 - { key: readability-identifier-naming.EnumConstantCase, value: camelBack }
70 - { key: readability-identifier-naming.FunctionCase, value: camelBack }
71 - { key: readability-identifier-naming.NamespaceCase, value: lower_case }
72 - { key: readability-identifier-naming.ParameterCase, value: camelBack }
73 - { key: readability-identifier-naming.StructCase, value: CamelCase }
74 - { key: readability-identifier-naming.VariableCase, value: camelBack }
75
76# Disable automatic formatting
77FormatStyle: none