|
1 | 1 | FormatStyle: file |
2 | 2 |
|
3 | | -Checks: ' |
4 | | -*bugprone*, |
5 | | -cppcoreguidelines-init-variables, |
6 | | -cppcoreguidelines-slicing, |
7 | | -clang-analyzer-optin.cplusplus.VirtualCall, |
8 | | -google-explicit-constructor, |
9 | | -llvm-namespace-comment, |
10 | | -misc-misplaced-const, |
11 | | -misc-non-copyable-objects, |
12 | | -misc-static-assert, |
13 | | -misc-throw-by-value-catch-by-reference, |
14 | | -misc-uniqueptr-reset-release, |
15 | | -misc-unused-parameters, |
16 | | -modernize-avoid-bind, |
17 | | -modernize-make-shared, |
18 | | -modernize-redundant-void-arg, |
19 | | -modernize-replace-auto-ptr, |
20 | | -modernize-replace-disallow-copy-and-assign-macro, |
21 | | -modernize-replace-random-shuffle, |
22 | | -modernize-shrink-to-fit, |
23 | | -modernize-use-auto, |
24 | | -modernize-use-bool-literals, |
25 | | -modernize-use-equals-default, |
26 | | -modernize-use-equals-delete, |
27 | | -modernize-use-default-member-init, |
28 | | -modernize-use-noexcept, |
29 | | -modernize-use-emplace, |
30 | | -modernize-use-override, |
31 | | -modernize-use-using, |
32 | | -*performance*, |
33 | | -readability-avoid-const-params-in-decls, |
34 | | -readability-const-return-type, |
35 | | -readability-container-size-empty, |
36 | | -readability-delete-null-pointer, |
37 | | -readability-else-after-return, |
38 | | -readability-implicit-bool-conversion, |
39 | | -readability-make-member-function-const, |
40 | | -readability-misplaced-array-index, |
41 | | -readability-non-const-parameter, |
42 | | -readability-redundant-function-ptr-dereference, |
43 | | -readability-redundant-smartptr-get, |
44 | | -readability-redundant-string-cstr, |
45 | | -readability-simplify-subscript-expr, |
46 | | -readability-static-accessed-through-instance, |
47 | | -readability-static-definition-in-anonymous-namespace, |
48 | | -readability-string-compare, |
49 | | -readability-suspicious-call-argument, |
50 | | -readability-uniqueptr-delete-release, |
51 | | --bugprone-exception-escape, |
52 | | --bugprone-reserved-identifier, |
53 | | --bugprone-unused-raii, |
54 | | -' |
| 3 | +Checks: | |
| 4 | + *bugprone*, |
| 5 | + *performance*, |
| 6 | + clang-analyzer-optin.cplusplus.VirtualCall, |
| 7 | + clang-analyzer-optin.performance.Padding, |
| 8 | + cppcoreguidelines-init-variables, |
| 9 | + cppcoreguidelines-prefer-member-initializer, |
| 10 | + cppcoreguidelines-pro-type-static-cast-downcast, |
| 11 | + cppcoreguidelines-slicing, |
| 12 | + google-explicit-constructor, |
| 13 | + llvm-namespace-comment, |
| 14 | + misc-definitions-in-headers, |
| 15 | + misc-misplaced-const, |
| 16 | + misc-non-copyable-objects, |
| 17 | + misc-static-assert, |
| 18 | + misc-throw-by-value-catch-by-reference, |
| 19 | + misc-uniqueptr-reset-release, |
| 20 | + misc-unused-parameters, |
| 21 | + modernize-avoid-bind, |
| 22 | + modernize-loop-convert, |
| 23 | + modernize-make-shared, |
| 24 | + modernize-redundant-void-arg, |
| 25 | + modernize-replace-auto-ptr, |
| 26 | + modernize-replace-disallow-copy-and-assign-macro, |
| 27 | + modernize-replace-random-shuffle, |
| 28 | + modernize-shrink-to-fit, |
| 29 | + modernize-use-auto, |
| 30 | + modernize-use-bool-literals, |
| 31 | + modernize-use-default-member-init, |
| 32 | + modernize-use-emplace, |
| 33 | + modernize-use-equals-default, |
| 34 | + modernize-use-equals-delete, |
| 35 | + modernize-use-noexcept, |
| 36 | + modernize-use-nullptr, |
| 37 | + modernize-use-override, |
| 38 | + modernize-use-using, |
| 39 | + readability-avoid-const-params-in-decls, |
| 40 | + readability-braces-around-statements, |
| 41 | + readability-const-return-type, |
| 42 | + readability-container-size-empty, |
| 43 | + readability-delete-null-pointer, |
| 44 | + readability-else-after-return, |
| 45 | + readability-implicit-bool-conversion, |
| 46 | + readability-inconsistent-declaration-parameter-name, |
| 47 | + readability-make-member-function-const, |
| 48 | + readability-misplaced-array-index, |
| 49 | + readability-non-const-parameter, |
| 50 | + readability-qualified-auto, |
| 51 | + readability-redundant-function-ptr-dereference, |
| 52 | + readability-redundant-smartptr-get, |
| 53 | + readability-redundant-string-cstr, |
| 54 | + readability-simplify-subscript-expr, |
| 55 | + readability-static-accessed-through-instance, |
| 56 | + readability-static-definition-in-anonymous-namespace, |
| 57 | + readability-string-compare, |
| 58 | + readability-suspicious-call-argument, |
| 59 | + readability-uniqueptr-delete-release, |
| 60 | + -bugprone-easily-swappable-parameters, |
| 61 | + -bugprone-exception-escape, |
| 62 | + -bugprone-reserved-identifier, |
| 63 | + -bugprone-unused-raii, |
55 | 64 |
|
56 | 65 | CheckOptions: |
57 | 66 | - key: performance-for-range-copy.WarnOnAllAutoCopies |
58 | 67 | value: true |
| 68 | +- key: performance-inefficient-string-concatenation.StrictMode |
| 69 | + value: true |
59 | 70 | - key: performance-unnecessary-value-param.AllowedTypes |
60 | 71 | value: 'exception_ptr$;' |
61 | 72 | - key: readability-implicit-bool-conversion.AllowPointerConditions |
62 | 73 | value: true |
63 | 74 |
|
64 | 75 | HeaderFilterRegex: 'pybind11/.*h' |
65 | | - |
66 | | -WarningsAsErrors: '*' |
|
0 commit comments