diff options
author | David Robillard <d@drobilla.net> | 2019-12-08 21:18:17 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-08 21:18:17 +0100 |
commit | 681d42a8a8b2fede618bb1073c851d0539fe5c48 (patch) | |
tree | 57b0a3faa929ae2a77dc23f03ac875dd5434a68a /.clang-tidy | |
parent | 7859da2568147cc06ea70992a1baed2ceaae619a (diff) | |
download | ingen-681d42a8a8b2fede618bb1073c851d0539fe5c48.tar.gz ingen-681d42a8a8b2fede618bb1073c851d0539fe5c48.tar.bz2 ingen-681d42a8a8b2fede618bb1073c851d0539fe5c48.zip |
Improve lint target
Diffstat (limited to '.clang-tidy')
-rw-r--r-- | .clang-tidy | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 00000000..1580361b --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,46 @@ +Checks: > + *, + -*avoid-c-arrays, + -*magic-numbers, + -*non-private-member-variables-in-classes, + -*uppercase-literal-suffix, + -android-cloexec-fopen, + -bugprone-parent-virtual-call, + -bugprone-suspicious-string-compare, + -cert-dcl50-cpp, + -cert-err34-c, + -clang-analyzer-alpha.*, + -clang-analyzer-valist.Uninitialized, + -cppcoreguidelines-macro-usage, + -cppcoreguidelines-no-malloc, + -cppcoreguidelines-owning-memory, + -cppcoreguidelines-pro-bounds-array-to-pointer-decay, + -cppcoreguidelines-pro-bounds-constant-array-index, + -cppcoreguidelines-pro-bounds-pointer-arithmetic, + -cppcoreguidelines-pro-type-const-cast, + -cppcoreguidelines-pro-type-cstyle-cast, + -cppcoreguidelines-pro-type-member-init, + -cppcoreguidelines-pro-type-reinterpret-cast, + -cppcoreguidelines-pro-type-static-cast-downcast, + -cppcoreguidelines-pro-type-union-access, + -cppcoreguidelines-pro-type-vararg, + -fuchsia-*, + -google-build-using-namespace, + -google-default-arguments, + -google-readability-casting, + -google-readability-todo, + -google-runtime-references, + -hicpp-multiway-paths-covered, + -hicpp-no-array-decay, + -hicpp-no-malloc, + -hicpp-signed-bitwise, + -hicpp-vararg, + -llvm-header-guard, + -modernize-use-trailing-return-type, + -portability-simd-intrinsics, + -readability-else-after-return, + -readability-implicit-bool-conversion, + -readability-named-parameter, +WarningsAsErrors: '' +HeaderFilterRegex: 'pugl/.*|test/.*' +FormatStyle: file |