|
| 1 | +--- |
| 2 | +Checks: > |
| 3 | + -*, |
| 4 | + readability-braces-around-statements, |
| 5 | + clang-diagnostic-*, |
| 6 | + clang-analyzer-*, |
| 7 | + cppcoreguidelines-*, |
| 8 | + cppcoreguidelines-*, |
| 9 | + readability-*, |
| 10 | + modernize-*, |
| 11 | + bugprone-*, |
| 12 | + chromium-include-order, |
| 13 | + performance-for-range-copy, |
| 14 | + performance-implicit-conversion-in-loop, |
| 15 | + performance-inefficient-algorithm, |
| 16 | + performance-inefficient-string-concatenation, |
| 17 | + performance-inefficient-vector-operation, |
| 18 | + performance-move-const-arg, |
| 19 | + performance-move-constructor-init, |
| 20 | + performance-no-automatic-move, |
| 21 | + performance-no-int-to-ptr, |
| 22 | + performance-trivially-destructible, |
| 23 | + performance-type-promotion-in-math-fn, |
| 24 | + performance-unnecessary-copy-initialization, |
| 25 | + performance-unnecessary-value-param, |
| 26 | + -modernize-use-trailing-return-type, |
| 27 | + -modernize-avoid-c-arrays, |
| 28 | + -bugprone-easily-swappable-parameters, |
| 29 | + -cppcoreguidelines-avoid-non-const-global-variables, |
| 30 | + -cppcoreguidelines-avoid-magic-numbers, |
| 31 | + -cppcoreguidelines-pro-bounds-array-to-pointer-decay, |
| 32 | + -cppcoreguidelines-special-member-functions, |
| 33 | + -cppcoreguidelines-pro-bounds-constant-array-index, |
| 34 | + -cppcoreguidelines-non-private-member-variables-in-classes, |
| 35 | + -readability-uppercase-literal-suffix, |
| 36 | + -readability-identifier-length, |
| 37 | + -readability-magic-numbers |
| 38 | +WarningsAsErrors: false # should be true once we get there |
| 39 | +HeaderFileExtensions: ['h','hh','hpp','hxx'] # enable iff clang-tidy v17+ |
| 40 | +ImplementationFileExtensions: ['c','cc','cpp','cxx'] # enable iff clang-tidy v17+ (stops from touching .S assembly files) |
| 41 | +HeaderFilterRegex: ".*" |
| 42 | +ExtraArgs: ['-Wno-unknown-argument', '-Wno-unknown-warning-option', '-W'] |
| 43 | +FormatStyle: file |
| 44 | +CheckOptions: |
| 45 | + - key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors |
| 46 | + value: "1" |
| 47 | + - key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic |
| 48 | + value: "1" |
| 49 | + - key: modernize-loop-convert.IncludeStyle |
| 50 | + value: google |
| 51 | + - key: modernize-pass-by-value.IncludeStyle |
| 52 | + value: google |
| 53 | + - key: modernize-replace-auto-ptr.IncludeStyle |
| 54 | + value: google |
0 commit comments