Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 1 | Checks: ' |
| 2 | -*, |
Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 3 | |
Jayanth Othayoth | 4263ed4 | 2024-12-08 11:46:12 -0600 | [diff] [blame^] | 4 | bugprone-*, |
| 5 | -bugprone-easily-swappable-parameters, |
| 6 | -bugprone-exception-escape, |
| 7 | -bugprone-unchecked-optional-access, |
| 8 | cert-*, |
| 9 | clang-analyzer-*, |
| 10 | -clang-analyzer-optin.*, |
| 11 | -clang-analyzer-osx.*, |
| 12 | -clang-analyzer-webkit.*, |
| 13 | cppcoreguidelines-*, |
| 14 | -cppcoreguidelines-avoid-const-or-ref-data-members, |
| 15 | -cppcoreguidelines-avoid-magic-numbers, |
| 16 | -cppcoreguidelines-init-variables, |
| 17 | -cppcoreguidelines-macro-to-enum, |
| 18 | -cppcoreguidelines-macro-usage, |
| 19 | -cppcoreguidelines-non-private-member-variables-in-classes, |
| 20 | -cppcoreguidelines-prefer-member-initializer, |
| 21 | -cppcoreguidelines-pro-bounds-constant-array-index, |
| 22 | -cppcoreguidelines-pro-bounds-pointer-arithmetic, |
| 23 | -cppcoreguidelines-pro-type-member-init, |
| 24 | -cppcoreguidelines-pro-type-reinterpret-cast, |
| 25 | -cppcoreguidelines-special-member-functions, |
| 26 | -cppcoreguidelines-use-default-member-init, |
| 27 | -cppcoreguidelines-virtual-class-destructor, |
| 28 | misc-*, |
| 29 | -misc-const-correctness, |
| 30 | -misc-include-cleaner, |
| 31 | -misc-non-private-member-variables-in-classes, |
| 32 | modernize-*, |
| 33 | -modernize-concat-nested-namespaces, |
| 34 | -modernize-macro-to-enum, |
| 35 | -modernize-use-auto, |
| 36 | -modernize-use-default-member-init, |
| 37 | -modernize-use-nodiscard, |
| 38 | -modernize-use-trailing-return-type, |
| 39 | performance-*, |
| 40 | -performance-enum-size, |
| 41 | readability-*, |
| 42 | -readability-avoid-const-params-in-decls, |
| 43 | -readability-convert-member-functions-to-static, |
| 44 | -readability-function-cognitive-complexity, |
| 45 | -readability-identifier-length, |
| 46 | -readability-implicit-bool-conversion, |
| 47 | -readability-magic-numbers, |
| 48 | -readability-make-member-function-const, |
| 49 | -readability-redundant-string-cstr, |
| 50 | -readability-redundant-string-init, |
| 51 | -readability-simplify-boolean-expr, |
| 52 | -readability-static-definition-in-anonymous-namespace, |
| 53 | ' |
| 54 | |
| 55 | # Treat all warnings as errors |
Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 56 | WarningsAsErrors: '*' |
Jayanth Othayoth | 4263ed4 | 2024-12-08 11:46:12 -0600 | [diff] [blame^] | 57 | |
| 58 | # Apply checks to all files |
Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 59 | HeaderFilterRegex: '^((?!linux).)*$' |
Jayanth Othayoth | 4263ed4 | 2024-12-08 11:46:12 -0600 | [diff] [blame^] | 60 | |
Brandon Kim | 638384c | 2022-05-10 14:09:48 -0700 | [diff] [blame] | 61 | CheckOptions: |
| 62 | - { key: readability-identifier-naming.ClassCase, value: CamelCase } |
| 63 | - { key: readability-identifier-naming.VariableCase, value: camelBack } |
| 64 | - { key: readability-identifier-naming.FunctionCase, value: camelBack } |
| 65 | - { key: readability-identifier-naming.ParameterCase, value: camelBack } |
| 66 | - { key: readability-identifier-naming.NamespaceCase, value: lower_case } |
| 67 | - { key: readability-identifier-naming.StructCase, value: CamelCase } |
Jayanth Othayoth | 4263ed4 | 2024-12-08 11:46:12 -0600 | [diff] [blame^] | 68 | |
| 69 | # Disable automatic formatting |
| 70 | FormatStyle: none |
| 71 | |