From 76368ec7ca769358d6eb0bab5b47bf000cb6fe26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Wed, 7 Aug 2024 21:07:11 +0200 Subject: [PATCH] clang-tidy.yml: updated to Clang 19 (#359) * clang-tidy.yml: updated to Clang 19 * .clang-tidy: disabled `boost-use-ranges` check --- .clang-tidy | 1 + .github/workflows/clang-tidy.yml | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index 752ae48f..c03da523 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -17,6 +17,7 @@ Checks: > -objc-*, -openmp-*, -zircon-*, + -boost-use-ranges, -bugprone-branch-clone, -bugprone-easily-swappable-parameters, -bugprone-narrowing-conversions, diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index f1337b72..2c67e10e 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -21,19 +21,19 @@ jobs: run: | wget https://apt.llvm.org/llvm.sh chmod +x llvm.sh - sudo ./llvm.sh 18 - sudo apt-get install clang-tidy-18 + sudo ./llvm.sh 19 + sudo apt-get install clang-tidy-19 - name: Verify clang-tidy configuration run: | - clang-tidy-18 --verify-config + clang-tidy-19 --verify-config - name: Prepare CMake run: | cmake -S . -B cmake.output -G "Unix Makefiles" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DDISABLE_CPP03_SYNTAX_CHECK=ON env: - CXX: clang-18 + CXX: clang-19 - name: Clang-Tidy run: | - run-clang-tidy-18 -q -j $(nproc) -p=cmake.output + run-clang-tidy-19 -q -j $(nproc) -p=cmake.output