diff options
-rw-r--r-- | bindings/cpp/include/.clang-tidy | 1 | ||||
-rw-r--r-- | examples/.clang-tidy | 4 | ||||
-rw-r--r-- | include/.clang-tidy | 1 | ||||
-rw-r--r-- | src/.clang-tidy | 2 | ||||
-rw-r--r-- | test/.clang-tidy | 3 |
5 files changed, 11 insertions, 0 deletions
diff --git a/bindings/cpp/include/.clang-tidy b/bindings/cpp/include/.clang-tidy index 15651d3..20c477e 100644 --- a/bindings/cpp/include/.clang-tidy +++ b/bindings/cpp/include/.clang-tidy @@ -1,6 +1,7 @@ Checks: > *, -*-uppercase-literal-suffix, + -altera-struct-pack-align, -clang-diagnostic-unused-macros, -cppcoreguidelines-pro-bounds-pointer-arithmetic, -cppcoreguidelines-pro-type-reinterpret-cast, diff --git a/examples/.clang-tidy b/examples/.clang-tidy index e7e83a6..a03027e 100644 --- a/examples/.clang-tidy +++ b/examples/.clang-tidy @@ -4,6 +4,7 @@ Checks: > -*avoid-c-arrays, -*magic-numbers, -*uppercase-literal-suffix, + -altera-struct-pack-align, -android-cloexec-fopen, -bugprone-macro-parentheses, -bugprone-reserved-identifier, @@ -13,6 +14,7 @@ Checks: > -cert-flp30-c, -clang-analyzer-alpha.*, -clang-analyzer-security.FloatLoopCounter, + -concurrency-mt-unsafe, -cppcoreguidelines-avoid-non-const-global-variables, -cppcoreguidelines-macro-usage, -cppcoreguidelines-pro-bounds-array-to-pointer-decay, @@ -33,6 +35,8 @@ Checks: > -llvmlibc-*, -misc-misplaced-const, -modernize-use-trailing-return-type, + -performance-no-int-to-ptr, + -readability-function-cognitive-complexity, -readability-implicit-bool-conversion, -readability-named-parameter, FormatStyle: file diff --git a/include/.clang-tidy b/include/.clang-tidy index dd2fd47..b6d941c 100644 --- a/include/.clang-tidy +++ b/include/.clang-tidy @@ -2,6 +2,7 @@ Checks: > *, -*-magic-numbers, -*-uppercase-literal-suffix, + -altera-struct-pack-align, -clang-diagnostic-unused-function, -clang-diagnostic-unused-macros, -llvmlibc-*, diff --git a/src/.clang-tidy b/src/.clang-tidy index 2ee3372..f4378ba 100644 --- a/src/.clang-tidy +++ b/src/.clang-tidy @@ -2,6 +2,7 @@ Checks: > *, -*-uppercase-literal-suffix, -*magic-numbers, + -altera-struct-pack-align, -bugprone-reserved-identifier, -cert-dcl37-c, -cert-dcl51-cpp, @@ -10,5 +11,6 @@ Checks: > -hicpp-signed-bitwise, -llvm-header-guard, -llvmlibc-*, + -readability-function-cognitive-complexity, FormatStyle: file HeaderFilterRegex: 'pugl/.*' diff --git a/test/.clang-tidy b/test/.clang-tidy index 30893c7..f3a1adc 100644 --- a/test/.clang-tidy +++ b/test/.clang-tidy @@ -2,7 +2,9 @@ Checks: > *, -*-magic-numbers, -*-uppercase-literal-suffix, + -altera-struct-pack-align, -bugprone-reserved-identifier, + -bugprone-suspicious-include, -cert-dcl37-c, -cert-dcl51-cpp, -google-runtime-references, @@ -11,5 +13,6 @@ Checks: > -llvm-header-guard, -llvmlibc-*, -modernize-use-trailing-return-type, + -readability-function-cognitive-complexity, FormatStyle: file HeaderFilterRegex: 'pugl/.*|test/.*' |