build-llvm: Build clang-tools-extra
This installs a bunch of new tools in the bin dir, namely the following: clang-apply-replacements clang-change-namespace clang-doc clang-include-fixer clang-move clang-query clang-reorder-fields clang-tidy clangd find-all-symbols modularize pp-trace run-clang-tidy These are stripped out by strip-llvm, but clangd and clang-tidy are kept.
This commit is contained in:
1 parent
0dbd9baba3
commit
5ae5b1aa37
2 files changed
+20
-2
No files matched your search
+5
-1
@@ -52,7 +52,7 @@ MINGW*)
|
||||
esac
|
||||
|
||||
cd bin
|
||||
for i in bugpoint c-index-test clang-* diagtool dsymutil git-clang-format hmaptool ld64.lld* llc lldb-* lli llvm-* obj2yaml opt sancov sanstats scan-build scan-view verify-uselistorder wasm-ld yaml2obj libclang.dll *LTO.dll *Remarks.dll *.bat; do
|
||||
for i in bugpoint c-index-test clang-* clangd diagtool dsymutil find-all-symbols git-clang-format hmaptool ld64.lld* llc lldb-* lli llvm-* modularize obj2yaml opt pp-trace sancov sanstats scan-build scan-view verify-uselistorder wasm-ld yaml2obj libclang.dll *LTO.dll *Remarks.dll *.bat; do
|
||||
basename=$i
|
||||
if [ -n "$EXEEXT" ]; then
|
||||
# Some in the list are expanded globs, some are plain names we list.
|
||||
@@ -68,6 +68,10 @@ for i in bugpoint c-index-test clang-* diagtool dsymutil git-clang-format hmapto
|
||||
;;
|
||||
clang++|clang-*.*|clang-cpp)
|
||||
;;
|
||||
clangd)
|
||||
;;
|
||||
clang-tidy)
|
||||
;;
|
||||
clang-*)
|
||||
suffix="${basename#*-}"
|
||||
# Test removing all numbers from the suffix; if it is empty, the suffix
|
||||
|
||||
Reference in new issue
Block a user