From 2163762016de11f935be81656d2b6ae8e2ae968b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fahller?= Date: Tue, 3 Dec 2024 11:13:35 +0100 Subject: [PATCH] Add clang-tidy --- clang/install-clang.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang/install-clang.sh b/clang/install-clang.sh index 9c51362..7338eb8 100755 --- a/clang/install-clang.sh +++ b/clang/install-clang.sh @@ -27,12 +27,14 @@ fetch_clang () { apt install -y clang-${VERSION} libc++-${VERSION}-dev libc++abi-${VERSION}-dev ${FUZZER} apt install -y clang-format-${VERSION} || true apt install -y clang-tools-${VERSION} || true + apt install -y clang-tidy-${VERSION} || true } apt install -y clang-${VERSION} ${LIBCXX} ${FUZZER}|| fetch_clang clang-${VERSION} apt install -y clang-format-${VERSION} || true apt install -y clang-tools-${VERSION} || true +apt install -y clang-tidy-${VERSION} || true for f in /usr/bin/llvm*-${VERSION} do ln -s $f `echo $f | sed "s/-${VERSION}//"`