diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2018-11-03 13:50:03 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2018-11-03 15:49:26 +0530 |
commit | 65f26d0f5da4e4898dca41f57821b6906f48c305 (patch) | |
tree | a4f6361865c078a5a47572ead04cf92fe075013e /.clang-tidy | |
parent | adbc7ad090a5d8b34b18e2f25fdddb1e95c574c4 (diff) | |
download | nnn-65f26d0f5da4e4898dca41f57821b6906f48c305.tar.gz |
Integrate clang-tidy
Diffstat (limited to '.clang-tidy')
-rw-r--r-- | .clang-tidy | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 0000000..82b705e --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,14 @@ +--- +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' +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' + +... |