2018-11-03 08:20:03 +00:00
|
|
|
---
|
2023-09-23 06:19:52 +00:00
|
|
|
Checks: >
|
|
|
|
clang-diagnostic-*,
|
|
|
|
clang-analyzer-*,
|
|
|
|
readability-*,
|
|
|
|
modernize-*,
|
|
|
|
bugprone-*,
|
|
|
|
misc-*,
|
|
|
|
google-runtime-int,
|
|
|
|
fuchsia-restrict-system-includes,
|
|
|
|
-misc-unused-parameters,
|
2023-09-23 06:20:22 +00:00
|
|
|
-misc-include-cleaner,
|
2023-09-23 06:19:52 +00:00
|
|
|
-llvm-header-guard,
|
|
|
|
-clang-analyzer-valist.Uninitialized,
|
|
|
|
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
|
|
|
|
-clang-analyzer-security.insecureAPI.rand,
|
|
|
|
-clang-analyzer-alpha.*,
|
|
|
|
-modernize-macro-to-enum,
|
|
|
|
-readability-magic-numbers,
|
|
|
|
-readability-braces-around-statements,
|
|
|
|
-readability-function-cognitive-complexity,
|
|
|
|
-readability-identifier-length,
|
|
|
|
-readability-isolate-declaration,
|
|
|
|
-readability-suspicious-call-argument,
|
|
|
|
-bugprone-easily-swappable-parameters,
|
|
|
|
-bugprone-narrowing-conversions,
|
|
|
|
-bugprone-reserved-identifier,
|
2023-09-23 06:20:22 +00:00
|
|
|
-bugprone-switch-missing-default-case,
|
2023-09-23 06:19:52 +00:00
|
|
|
|
2018-11-03 08:20:03 +00:00
|
|
|
WarningsAsErrors: '*'
|
|
|
|
HeaderFilterRegex: '.*(?<!lookup3.c)$'
|
|
|
|
FormatStyle: 'file'
|
|
|
|
CheckOptions:
|
|
|
|
- key: readability-braces-around-statements.ShortStatementLines
|
|
|
|
value: '1'
|
|
|
|
- key: google-runtime-int.TypeSufix
|
|
|
|
value: '_t'
|
|
|
|
- key: fuchsia-restrict-system-includes.Includes
|
|
|
|
value: '*,-stdint.h,-stdbool.h'
|
2019-05-08 15:26:44 +00:00
|
|
|
- key: readability-function-size.StatementThreshold
|
2022-12-11 20:50:28 +00:00
|
|
|
value: '950'
|
2018-11-03 08:20:03 +00:00
|
|
|
...
|