Skip to content

Commit

Permalink
Add clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
rollbear committed Dec 3, 2024
1 parent 76bb0cd commit 2163762
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clang/install-clang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}//"`
Expand Down

0 comments on commit 2163762

Please sign in to comment.