From 80e831da6f074b41f648aea8b1cb01529a9f4ff8 Mon Sep 17 00:00:00 2001 From: Jared Van Bortel Date: Fri, 6 Dec 2024 17:15:16 -0500 Subject: [PATCH] further attempts to fix warnings Signed-off-by: Jared Van Bortel --- .clang-tidy | 1 + .github/workflows/cpp-linter.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index bac2413b..82dc4f2f 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -91,6 +91,7 @@ Checks: - '-performance-implicit-conversion-in-loop' - '-performance-move-const-arg' - '-performance-noexcept-move-constructor' +- '-performance-no-automatic-move' - '-performance-unnecessary-copy-initialization' - '-performance-unnecessary-value-param' - '-readability-avoid-const-params-in-decls' diff --git a/.github/workflows/cpp-linter.yml b/.github/workflows/cpp-linter.yml index 52fc4faa..8d4f3183 100644 --- a/.github/workflows/cpp-linter.yml +++ b/.github/workflows/cpp-linter.yml @@ -18,7 +18,7 @@ jobs: - name: Install dependencies run: | wget -qO- 'https://apt.llvm.org/llvm-snapshot.gpg.key' | sudo tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc >/dev/null - sudo add-apt-repository -y 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main' + sudo add-apt-repository -y 'deb http://apt.llvm.org/noble/ llvm-toolchain-noble-18 main' packages=( clang-18 clang-format-18 clang-tidy-18 cmake libgl-dev libopengl-dev libxkbcommon-dev libx11-6 libx11-xcb1 libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0