| 1 |
--- |
| 2 |
# -bugprone-chained-comparison is needed for catch2 < v3.5.3 |
| 3 |
Checks: 'bugprone-*,-bugprone-chained-comparison,-bugprone-easily-swappable-parameters,-bugprone-implicit-widening-of-multiplication-result,-bugprone-multi-level-implicit-pointer-conversion,-bugprone-narrowing-conversions,-bugprone-suspicious-enum-usage,-bugprone-switch-missing-default-case,clang-diagnostic-*,clang-analyzer-*,misc-throw-by-value-catch-by-reference,modernize-use-nullptr,modernize-use-equals-default,modernize-use-equals-delete,modernize-use-override,modernize-use-scoped-lock,performance-*,-performance-enum-size' |
| 4 |
WarningsAsErrors: '*' |
| 5 |
HeaderFilterRegex: '/CorsixTH/Src/|/AnimView/|/common/' |
| 6 |
FormatStyle: file |
| 7 |
CheckOptions: |
| 8 |
- key: cert-dcl16-c.NewSuffixes |
| 9 |
value: 'L;LL;LU;LLU' |
| 10 |
- key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField |
| 11 |
value: '0' |
| 12 |
- key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors |
| 13 |
value: '1' |
| 14 |
- key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic |
| 15 |
value: '1' |
| 16 |
- key: google-readability-braces-around-statements.ShortStatementLines |
| 17 |
value: '1' |
| 18 |
- key: google-readability-function-size.StatementThreshold |
| 19 |
value: '800' |
| 20 |
- key: google-readability-namespace-comments.ShortNamespaceLines |
| 21 |
value: '10' |
| 22 |
- key: google-readability-namespace-comments.SpacesBeforeComments |
| 23 |
value: '2' |
| 24 |
- key: modernize-loop-convert.MaxCopySize |
| 25 |
value: '16' |
| 26 |
- key: modernize-loop-convert.MinConfidence |
| 27 |
value: reasonable |
| 28 |
- key: modernize-loop-convert.NamingStyle |
| 29 |
value: lower_case |
| 30 |
- key: modernize-pass-by-value.IncludeStyle |
| 31 |
value: llvm |
| 32 |
- key: modernize-replace-auto-ptr.IncludeStyle |
| 33 |
value: llvm |
| 34 |
- key: modernize-use-nullptr.NullMacros |
| 35 |
value: 'NULL' |
| 36 |
... |
| 37 |
|