diff options
author | David Robillard <d@drobilla.net> | 2020-08-01 13:42:32 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-01 23:53:14 +0200 |
commit | a942e7faaa54e9321c71ab65ed2ae158706696af (patch) | |
tree | 12e7d7368959f756cfe0bfc327ac31bc725906b4 /.clang-tidy | |
parent | fcc7d620b1b4299edad3bd3ce7ea148c54a4d43d (diff) | |
download | ingen-a942e7faaa54e9321c71ab65ed2ae158706696af.tar.gz ingen-a942e7faaa54e9321c71ab65ed2ae158706696af.tar.bz2 ingen-a942e7faaa54e9321c71ab65ed2ae158706696af.zip |
Update clang-tidy file
Diffstat (limited to '.clang-tidy')
-rw-r--r-- | .clang-tidy | 48 |
1 files changed, 46 insertions, 2 deletions
diff --git a/.clang-tidy b/.clang-tidy index fbab6d47..3d784d49 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,16 +1,35 @@ Checks: > *, -*avoid-c-arrays, + -*braces-around-statements, + -*deprecated-headers, -*magic-numbers, + -*move-const-arg, + -*narrowing-conversions, + -*noexcept-move*, -*non-private-member-variables-in-classes, + -*qualified-auto, + -*special-member-functions, -*uppercase-literal-suffix, + -*use-auto, + -*use-equals-default, + -*use-equals-delete, + -*use-override, -android-cloexec-fopen, + -bugprone-branch-clone, + -bugprone-forward-declaration-namespace, + -bugprone-not-null-terminated-result, -bugprone-parent-virtual-call, + -bugprone-signed-char-misuse, -bugprone-suspicious-string-compare, -cert-dcl50-cpp, -cert-err34-c, + -cert-oop54-cpp, -clang-analyzer-alpha.*, + -clang-analyzer-core.CallAndMessage, + -clang-analyzer-optin.cplusplus.VirtualCall, -clang-analyzer-valist.Uninitialized, + -cppcoreguidelines-init-variables, -cppcoreguidelines-macro-usage, -cppcoreguidelines-no-malloc, -cppcoreguidelines-owning-memory, @@ -27,19 +46,44 @@ Checks: > -fuchsia-*, -google-build-using-namespace, -google-default-arguments, + -google-explicit-constructor, + -google-readability-namespace-comments, -google-readability-todo, + -google-runtime-int, -google-runtime-references, + -hicpp-explicit-conversions, + -hicpp-member-init, -hicpp-multiway-paths-covered, -hicpp-no-array-decay, -hicpp-no-malloc, -hicpp-signed-bitwise, -hicpp-vararg, -llvm-header-guard, + -llvm-include-order, + -llvm-namespace-comment, + -misc-unused-parameters, + -modernize-make-shared, + -modernize-pass-by-value, + -modernize-redundant-void-arg, + -modernize-use-default-member-init, -modernize-use-trailing-return-type, + -modernize-use-using, + -performance-faster-string-find, + -performance-for-range-copy, + -performance-no-automatic-move, + -performance-type-promotion-in-math-fn, + -performance-unnecessary-value-param, -portability-simd-intrinsics, + -readability-avoid-const-params-in-decls, + -readability-const-return-type, + -readability-convert-member-functions-to-static, -readability-else-after-return, -readability-implicit-bool-conversion, + -readability-isolate-declaration, + -readability-make-member-function-const, -readability-named-parameter, -WarningsAsErrors: '' -HeaderFilterRegex: 'pugl/.*|test/.*' + -readability-redundant-member-init, + -readability-static-accessed-through-instance, +WarningsAsErrors: '*' +HeaderFilterRegex: 'ingen/.*|tests/.*|src/.*' FormatStyle: file |