split clang-tidy checks into multiple lines

makes it more readable and more easily editable. also produces better
diff when editing.
This commit is contained in:
NRK 2023-09-23 12:19:52 +06:00
parent 9b921761b6
commit 6d6fc3419e

View file

@ -1,5 +1,30 @@
--- ---
Checks: 'clang-diagnostic-*,clang-analyzer-*,readability-*,modernize-*,bugprone-*,misc-*,-misc-unused-parameters,google-runtime-int,-llvm-header-guard,fuchsia-restrict-system-includes,-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' Checks: >
clang-diagnostic-*,
clang-analyzer-*,
readability-*,
modernize-*,
bugprone-*,
misc-*,
google-runtime-int,
fuchsia-restrict-system-includes,
-misc-unused-parameters,
-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,
WarningsAsErrors: '*' WarningsAsErrors: '*'
HeaderFilterRegex: '.*(?<!lookup3.c)$' HeaderFilterRegex: '.*(?<!lookup3.c)$'
FormatStyle: 'file' FormatStyle: 'file'