diff options
author | David Robillard <d@drobilla.net> | 2022-10-07 15:15:31 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-10-07 15:15:31 -0400 |
commit | 92132eca5e75d3f95a3eb7e015c47765a79925cc (patch) | |
tree | 3ccb38f019e91f956ff23e2bd496e72043c082ea | |
parent | b60d2da07e4d7e348dfa8d414256a996f443d6a4 (diff) | |
download | pugl-92132eca5e75d3f95a3eb7e015c47765a79925cc.tar.gz pugl-92132eca5e75d3f95a3eb7e015c47765a79925cc.tar.bz2 pugl-92132eca5e75d3f95a3eb7e015c47765a79925cc.zip |
Simplify clang-tidy configuration
-rw-r--r-- | .clang-tidy (renamed from include/.clang-tidy) | 0 | ||||
-rw-r--r-- | examples/.clang-tidy | 9 | ||||
-rw-r--r-- | src/.clang-tidy | 9 | ||||
-rw-r--r-- | test/.clang-tidy | 9 |
4 files changed, 3 insertions, 24 deletions
diff --git a/include/.clang-tidy b/.clang-tidy index 0a4ae44..0a4ae44 100644 --- a/include/.clang-tidy +++ b/.clang-tidy diff --git a/examples/.clang-tidy b/examples/.clang-tidy index f18400c..bf9899a 100644 --- a/examples/.clang-tidy +++ b/examples/.clang-tidy @@ -1,11 +1,7 @@ Checks: > - *, -*-named-parameter, -*-non-private-member-variables-in-classes, -*avoid-c-arrays, - -*magic-numbers, - -*uppercase-literal-suffix, - -altera*, -android-cloexec-fopen, -bugprone-easily-swappable-parameters, -bugprone-macro-parentheses, @@ -32,12 +28,9 @@ Checks: > -hicpp-signed-bitwise, -hicpp-vararg, -llvm-header-guard, - -llvmlibc-*, -misc-misplaced-const, -modernize-use-trailing-return-type, -performance-no-int-to-ptr, -readability-function-cognitive-complexity, - -readability-identifier-length, -readability-implicit-bool-conversion, -FormatStyle: file -HeaderFilterRegex: 'pugl/.*|test/.*|examples/.*' +InheritParentConfig: true diff --git a/src/.clang-tidy b/src/.clang-tidy index 7a3b28c..4415bd2 100644 --- a/src/.clang-tidy +++ b/src/.clang-tidy @@ -1,14 +1,7 @@ Checks: > - *, - -*-uppercase-literal-suffix, - -*magic-numbers, - -altera*, -bugprone-easily-swappable-parameters, -hicpp-multiway-paths-covered, -hicpp-signed-bitwise, -llvm-header-guard, - -llvmlibc-*, -readability-function-cognitive-complexity, - -readability-identifier-length, -FormatStyle: file -HeaderFilterRegex: 'pugl/.*' +InheritParentConfig: true diff --git a/test/.clang-tidy b/test/.clang-tidy index 6be68df..c018d1f 100644 --- a/test/.clang-tidy +++ b/test/.clang-tidy @@ -1,17 +1,10 @@ Checks: > - *, - -*-magic-numbers, - -*-uppercase-literal-suffix, - -altera*, -bugprone-suspicious-include, -cert-err33-c, -google-runtime-references, -hicpp-multiway-paths-covered, -hicpp-signed-bitwise, -llvm-header-guard, - -llvmlibc-*, -modernize-use-trailing-return-type, -readability-function-cognitive-complexity, - -readability-identifier-length, -FormatStyle: file -HeaderFilterRegex: 'pugl/.*|test/.*' +InheritParentConfig: true |