diff --git a/.clang-tidy b/.clang-tidy index af60d24..7658ea5 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,7 +1,9 @@ WarningsAsErrors: '*' Checks: ' - -*, - bugprone-*, + *, + -abseil-*, + -altera-*, + -android-*, -bugprone-assignment-in-if-condition, -bugprone-branch-clone, -bugprone-easily-swappable-parameters, @@ -9,12 +11,12 @@ Checks: ' -bugprone-macro-parentheses, -bugprone-narrowing-conversions, -bugprone-unhandled-self-assignment, - cert-*, -cert-dcl50-cpp, -cert-env33-c, -cert-err33-c, -cert-err58-cpp, - cppcoreguidelines-*, + -clang-analyzer-*, + -concurrency-mt-unsafe, -cppcoreguidelines-avoid-c-arrays, -cppcoreguidelines-avoid-do-while, -cppcoreguidelines-avoid-magic-numbers, @@ -33,14 +35,16 @@ Checks: ' -cppcoreguidelines-pro-type-union-access, -cppcoreguidelines-pro-type-vararg, -cppcoreguidelines-special-member-functions, - google-*, + -fuchsia-*, -google-build-using-namespace, -google-readability-casting, -google-readability-function-size, -google-readability-todo, -google-runtime-int, -google-runtime-references, - misc-*, + -hicpp-*, + -llvm-*, + -llvmlibc-*, -misc-const-correctness, -misc-include-cleaner, -misc-no-recursion, @@ -49,7 +53,6 @@ Checks: ' -misc-unused-parameters, -misc-use-anonymous-namespace, -misc-use-internal-linkage, - modernize-*, -modernize-avoid-c-arrays, -modernize-loop-convert, -modernize-make-unique, @@ -60,11 +63,8 @@ Checks: ' -modernize-use-default-member-init, -modernize-use-trailing-return-type, -modernize-use-using, - performance-*, -performance-avoid-endl, -performance-no-int-to-ptr, - portability-*, - readability-*, -readability-avoid-nested-conditional-operator, -readability-braces-around-statements, -readability-else-after-return, diff --git a/.github/workflows/linux-ci-helper.sh b/.github/workflows/linux-ci-helper.sh index f72248f..b33a276 100755 --- a/.github/workflows/linux-ci-helper.sh +++ b/.github/workflows/linux-ci-helper.sh @@ -103,7 +103,7 @@ elif [ "${CONTAINER_FULLNAME}" = "ubuntu:20.04" ]; then PACKAGE_UPDATE_OPTIONS="update -y -qq" PACKAGE_INSTALL_OPTIONS="install -y" - INSTALL_PACKAGES="autoconf autotools-dev clang-tidy openjdk-17-jre-headless fuse jq libfuse-dev libcurl4-openssl-dev libxml2-dev locales-all mime-support libtool pkg-config libssl-dev attr curl python3-pip unzip" + INSTALL_PACKAGES="autoconf autotools-dev openjdk-17-jre-headless fuse jq libfuse-dev libcurl4-openssl-dev libxml2-dev locales-all mime-support libtool pkg-config libssl-dev attr curl python3-pip unzip" INSTALL_CHECKER_PKGS="cppcheck shellcheck" INSTALL_CHECKER_PKG_OPTIONS="" @@ -121,7 +121,7 @@ elif [ "${CONTAINER_FULLNAME}" = "debian:bullseye" ]; then PACKAGE_UPDATE_OPTIONS="update -y -qq" PACKAGE_INSTALL_OPTIONS="install -y" - INSTALL_PACKAGES="autoconf autotools-dev clang-tidy openjdk-17-jre-headless fuse jq libfuse-dev libcurl4-openssl-dev libxml2-dev locales-all mime-support libtool pkg-config libssl-dev attr curl procps python3-pip unzip" + INSTALL_PACKAGES="autoconf autotools-dev openjdk-17-jre-headless fuse jq libfuse-dev libcurl4-openssl-dev libxml2-dev locales-all mime-support libtool pkg-config libssl-dev attr curl procps python3-pip unzip" INSTALL_CHECKER_PKGS="cppcheck shellcheck" INSTALL_CHECKER_PKG_OPTIONS="" @@ -130,7 +130,7 @@ elif [ "${CONTAINER_FULLNAME}" = "debian:buster" ]; then PACKAGE_UPDATE_OPTIONS="update -y -qq" PACKAGE_INSTALL_OPTIONS="install -y" - INSTALL_PACKAGES="autoconf autotools-dev clang-tidy default-jre-headless fuse jq libfuse-dev libcurl4-openssl-dev libxml2-dev locales-all mime-support libtool pkg-config libssl-dev attr curl procps python3-pip unzip" + INSTALL_PACKAGES="autoconf autotools-dev default-jre-headless fuse jq libfuse-dev libcurl4-openssl-dev libxml2-dev locales-all mime-support libtool pkg-config libssl-dev attr curl procps python3-pip unzip" INSTALL_CHECKER_PKGS="cppcheck shellcheck" INSTALL_CHECKER_PKG_OPTIONS=""