[all-commits] [llvm/llvm-project] 632545: [clang-tidy] Fix linking tests to LLVMTestingSupport
Michał Górny via All-commits
all-commits at lists.llvm.org
Fri Jan 29 12:54:35 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 632545e8ce846ccaeca8df15a3dc5e36d01a1275
https://github.com/llvm/llvm-project/commit/632545e8ce846ccaeca8df15a3dc5e36d01a1275
Author: Michał Górny <mgorny at moritz.systems>
Date: 2021-01-29 (Fri, 29 Jan 2021)
Changed paths:
M clang-tools-extra/unittests/clang-tidy/CMakeLists.txt
Log Message:
-----------
[clang-tidy] Fix linking tests to LLVMTestingSupport
LLVMTestingSupport is not part of libLLVM, and therefore can not
be linked to via LLVM_LINK_COMPONENTS. Instead, it needs to be
specified explicitly to ensure that it is linked explicitly
even if LLVM_LINK_LLVM_DYLIB is used. This is consistent with handling
in clangd.
Fixes PR#48931
Differential Revision: https://reviews.llvm.org/D95653
More information about the All-commits
mailing list