diff options
author | David Robillard <d@drobilla.net> | 2022-06-29 09:04:27 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-07-20 16:24:23 -0400 |
commit | 127ded1247765f9ee0db061bf81cf1d2f0088917 (patch) | |
tree | 2659f0c5e4aef02846545c8e4a950406fc62d14c /test/headers/.clang-tidy | |
parent | 8571ffc9f4ad9165dde3407641e73ec7737ae42c (diff) | |
download | raul-127ded1247765f9ee0db061bf81cf1d2f0088917.tar.gz raul-127ded1247765f9ee0db061bf81cf1d2f0088917.tar.bz2 raul-127ded1247765f9ee0db061bf81cf1d2f0088917.zip |
Add header warning test
Diffstat (limited to 'test/headers/.clang-tidy')
-rw-r--r-- | test/headers/.clang-tidy | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/test/headers/.clang-tidy b/test/headers/.clang-tidy new file mode 100644 index 0000000..374dbd7 --- /dev/null +++ b/test/headers/.clang-tidy @@ -0,0 +1,33 @@ +Checks: > + *, + -*-avoid-c-arrays, + -*-magic-numbers, + -*-no-malloc, + -abseil-string-find-str-contains, + -altera-*, + -android-cloexec-accept, + -bugprone-easily-swappable-parameters, + -cppcoreguidelines-owning-memory, + -cppcoreguidelines-pro-bounds-array-to-pointer-decay, + -cppcoreguidelines-pro-bounds-pointer-arithmetic, + -cppcoreguidelines-pro-type-const-cast, + -cppcoreguidelines-pro-type-reinterpret-cast, + -fuchsia-default-arguments*, + -fuchsia-overloaded-operator, + -google-runtime-int, + -hicpp-no-array-decay, + -llvmlibc-*, + -modernize-return-braced-init-list, + -modernize-use-nodiscard, + -modernize-use-trailing-return-type, + -readability-identifier-length, + -readability-implicit-bool-conversion, +CheckOptions: + - key: modernize-use-override.AllowOverrideAndFinal + value: 'true' +CheckOptions: + - key: cppcoreguidelines-explicit-virtual-functions.AllowOverrideAndFinal + value: 'true' +WarningsAsErrors: '*' +HeaderFilterRegex: '.*' +FormatStyle: file |