Skip to content

Commit

Permalink
strip-llvm: Retain clang-format and related files
Browse files Browse the repository at this point in the history
  • Loading branch information
mstorsjo committed Jul 9, 2023
1 parent 2712424 commit fa0eec5
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion strip-llvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ for i in amdgpu-arch bugpoint c-index-test clang-* clangd clangd-* darwin-debug
;;
clang++|clang-*.*|clang-cpp)
;;
clang-format|git-clang-format)
;;
clangd)
;;
clang-tidy)
Expand Down Expand Up @@ -119,7 +121,18 @@ fi
cd ..
rm -rf libexec
cd share
rm -rf clang opt-viewer scan-build scan-view
cd clang
for i in *; do
case $i in
clang-format*)
;;
*)
rm -rf $i
;;
esac
done
cd ..
rm -rf opt-viewer scan-build scan-view
rm -rf man/man1/scan-build*
cd ..
cd include
Expand Down

0 comments on commit fa0eec5

Please sign in to comment.