diff --git a/.clang-tidy b/.clang-tidy index b0a6da98b..671d53928 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -3,6 +3,7 @@ Checks: clang-diagnostic-*, cppcoreguidelines-*, modernize-*, + -cppcoreguidelines-avoid-const-or-ref-data-members, -cppcoreguidelines-macro-usage, -cppcoreguidelines-owning-memory, -cppcoreguidelines-pro-bounds-array-to-pointer-decay, @@ -12,6 +13,7 @@ Checks: -cppcoreguidelines-pro-type-reinterpret-cast, -cppcoreguidelines-pro-type-vararg, -cppcoreguidelines-special-member-functions, + -modernize-return-braced-init-list, -modernize-use-default-member-init, -modernize-use-equals-default, -modernize-use-trailing-return-type, diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1fe7d1c7d..afd12b69c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -172,9 +172,9 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install clang-tidy - run: sudo apt-get install clang-tidy-11 + run: sudo apt-get install clang-tidy-18 - name: Run clang-tidy - run: clang-tidy-11 src/cxx.cc --warnings-as-errors=* + run: clang-tidy-18 src/cxx.cc --warnings-as-errors=* outdated: name: Outdated