[pseudo] Respect LLVM_USE_HOST_TOOLS
authorSam McCall <sam.mccall@gmail.com>
Tue, 31 May 2022 18:45:22 +0000 (20:45 +0200)
committerSam McCall <sam.mccall@gmail.com>
Tue, 31 May 2022 18:47:57 +0000 (20:47 +0200)
commit9d991da60df492a191b34aa3e75484ddd27e8930
tree3bfb68f12975ae13a3fd9d4f387b53f69267df08
parentb8a63455548dddd7ae740018e6fe15b3d2c2929b
[pseudo] Respect LLVM_USE_HOST_TOOLS

This is the intended way to request that build-time tools be built in a
distinct configuration.

This is set implicitly by LLVM_OPTIMIZED_TABLEGEN, which may be
surprising, but if undesired this should be fixed elsewhere.

Should fix crbug.com/1330304
clang-tools-extra/pseudo/include/CMakeLists.txt