diff options
author | David Robillard <d@drobilla.net> | 2020-09-27 16:52:37 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-09-27 16:56:02 +0200 |
commit | d4d9b9607076f66a8b323debbec2dcd8fe9aad36 (patch) | |
tree | 949cff9a44b0a17a6223ffca250fa1f948db9498 /.clang-tidy | |
parent | f139a0ac62915b22e8c7403c766689fc40975a69 (diff) | |
download | sratom-d4d9b9607076f66a8b323debbec2dcd8fe9aad36.tar.gz sratom-d4d9b9607076f66a8b323debbec2dcd8fe9aad36.tar.bz2 sratom-d4d9b9607076f66a8b323debbec2dcd8fe9aad36.zip |
Strengthen lint target
Diffstat (limited to '.clang-tidy')
-rw-r--r-- | .clang-tidy | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 0000000..49a21f2 --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,16 @@ +Checks: > + *, + -*-magic-numbers, + -*-narrowing-conversions, + -*-uppercase-literal-suffix, + -bugprone-branch-clone, + -bugprone-suspicious-string-compare, + -cert-err34-c, + -clang-analyzer-unix.Malloc, + -cppcoreguidelines-init-variables, + -hicpp-signed-bitwise, + -llvm-header-guard, + -readability-else-after-return, +WarningsAsErrors: '*' +HeaderFilterRegex: '.*' +FormatStyle: file |