diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/.clang-tidy | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy new file mode 100644 index 0000000..885adc7 --- /dev/null +++ b/src/.clang-tidy @@ -0,0 +1,15 @@ +--- +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.rand,-clang-analyzer-alpha.*,-readability-magic-numbers,-readability-braces-around-statements,-readability-isolate-declaration,-bugprone-narrowing-conversions' +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' + - key: readability-function-size.StatementThreshold + value: '850' +... |