diff options
-rw-r--r-- | .clang-tidy | 19 | ||||
-rw-r--r-- | examples/.clang-tidy | 20 | ||||
-rw-r--r-- | include/pugl/.clang-tidy | 5 | ||||
-rw-r--r-- | include/pugl/detail/.clang-tidy | 12 | ||||
-rw-r--r-- | test/.clang-tidy | 10 |
5 files changed, 48 insertions, 18 deletions
diff --git a/.clang-tidy b/.clang-tidy index c8039e1..1e40901 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,21 +1,4 @@ Checks: > *, - -*avoid-c-arrays, - -*magic-numbers, - -*uppercase-literal-suffix, - -android-cloexec-fopen, - -bugprone-suspicious-string-compare, - -cert-flp30-c, - -clang-analyzer-alpha.*, - -clang-analyzer-security.FloatLoopCounter, - -google-runtime-references, - -hicpp-multiway-paths-covered, - -hicpp-signed-bitwise, - -llvm-header-guard, - -modernize-use-trailing-return-type, - -readability-else-after-return, - -readability-implicit-bool-conversion, - -readability-named-parameter, -WarningsAsErrors: '' -HeaderFilterRegex: 'pugl/.*|test/.*|examples/.*' FormatStyle: file +WarningsAsErrors: '*' diff --git a/examples/.clang-tidy b/examples/.clang-tidy new file mode 100644 index 0000000..0c4a3cd --- /dev/null +++ b/examples/.clang-tidy @@ -0,0 +1,20 @@ +Checks: > + *, + -*avoid-c-arrays, + -*magic-numbers, + -*uppercase-literal-suffix, + -android-cloexec-fopen, + -bugprone-suspicious-string-compare, + -cert-flp30-c, + -clang-analyzer-alpha.*, + -clang-analyzer-security.FloatLoopCounter, + -google-runtime-references, + -hicpp-multiway-paths-covered, + -hicpp-signed-bitwise, + -llvm-header-guard, + -modernize-use-trailing-return-type, + -readability-else-after-return, + -readability-implicit-bool-conversion, + -readability-named-parameter, +FormatStyle: file +HeaderFilterRegex: 'pugl/.*|test/.*|examples/.*'
\ No newline at end of file diff --git a/include/pugl/.clang-tidy b/include/pugl/.clang-tidy new file mode 100644 index 0000000..6453ca0 --- /dev/null +++ b/include/pugl/.clang-tidy @@ -0,0 +1,5 @@ +Checks: > + *, + -*-uppercase-literal-suffix, +FormatStyle: file +HeaderFilterRegex: 'pugl/.*' diff --git a/include/pugl/detail/.clang-tidy b/include/pugl/detail/.clang-tidy new file mode 100644 index 0000000..7bc36f7 --- /dev/null +++ b/include/pugl/detail/.clang-tidy @@ -0,0 +1,12 @@ +Checks: > + *, + -*-uppercase-literal-suffix, + -*magic-numbers, + -bugprone-suspicious-string-compare, + -cert-flp30-c, + -clang-analyzer-security.FloatLoopCounter, + -hicpp-multiway-paths-covered, + -hicpp-signed-bitwise, + -readability-else-after-return, +FormatStyle: file +HeaderFilterRegex: 'pugl/.*' diff --git a/test/.clang-tidy b/test/.clang-tidy new file mode 100644 index 0000000..5f3596a --- /dev/null +++ b/test/.clang-tidy @@ -0,0 +1,10 @@ +Checks: > + *, + -*-magic-numbers, + -*-uppercase-literal-suffix, + -hicpp-multiway-paths-covered, + -hicpp-signed-bitwise, + -llvm-header-guard, + -modernize-use-trailing-return-type, +FormatStyle: file +HeaderFilterRegex: 'pugl/.*|test/.*' |