diff options
author | David Robillard <d@drobilla.net> | 2020-12-15 20:45:11 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-15 20:56:50 +0100 |
commit | d2143bb3298d94ebef62ed50d377e89533a02b42 (patch) | |
tree | efeed57f2f64797257428f4b5075dd6446e4b735 /src/server/.clang-tidy | |
parent | 7b1c6f0ff13dda05886df9165cca550a449a7298 (diff) | |
download | ingen-d2143bb3298d94ebef62ed50d377e89533a02b42.tar.gz ingen-d2143bb3298d94ebef62ed50d377e89533a02b42.tar.bz2 ingen-d2143bb3298d94ebef62ed50d377e89533a02b42.zip |
Use separate clang-tidy configurations for server and GUI
Diffstat (limited to 'src/server/.clang-tidy')
-rw-r--r-- | src/server/.clang-tidy | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/src/server/.clang-tidy b/src/server/.clang-tidy new file mode 100644 index 00000000..9c5270f0 --- /dev/null +++ b/src/server/.clang-tidy @@ -0,0 +1,56 @@ +Checks: > + *, + -*-avoid-c-arrays, + -*-else-after-return, + -*-magic-numbers, + -*-named-parameter, + -*-narrowing-conversions, + -*-non-private-member-variables-in-classes, + -*-special-member-functions, + -*-uppercase-literal-suffix, + -*-vararg, + -abseil-string-find-str-contains, + -android-cloexec-*, + -bugprone-branch-clone, + -bugprone-parent-virtual-call, + -bugprone-reserved-identifier, + -bugprone-signed-char-misuse, + -bugprone-suspicious-string-compare, + -cert-str34-c, + -clang-analyzer-optin.cplusplus.VirtualCall, + -cppcoreguidelines-avoid-non-const-global-variables, + -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-reinterpret-cast, + -cppcoreguidelines-pro-type-static-cast-downcast, + -cppcoreguidelines-pro-type-union-access, + -fuchsia-*, + -google-default-arguments, + -google-explicit-constructor, + -google-readability-todo, + -google-runtime-int, + -google-runtime-references, + -hicpp-explicit-conversions, + -hicpp-multiway-paths-covered, + -hicpp-no-array-decay, + -hicpp-no-malloc, + -hicpp-signed-bitwise, + -llvm-header-guard, + -llvmlibc-*, + -misc-no-recursion, + -misc-unused-parameters, + -modernize-use-default-member-init, + -modernize-use-trailing-return-type, + -portability-simd-intrinsics, + -readability-implicit-bool-conversion, + -readability-redundant-member-init, + -readability-use-anyofallof, +WarningsAsErrors: '*' +HeaderFilterRegex: 'include/ingen/.*|tests/.*|src/.*' +FormatStyle: file |