[PATCH] D121687: [clang-tidy] Don't try to build CTTestTidyModule for Windows with dylibs
Jeremy Drake via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 25 11:56:11 PDT 2022
jeremyd2019 added inline comments.
================
Comment at: clang-tools-extra/test/CMakeLists.txt:84
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
- llvm_add_library(
- CTTestTidyModule
- MODULE clang-tidy/CTTestTidyModule.cpp
- PLUGIN_TOOL clang-tidy
- DEPENDS clang-tidy-headers)
+ if (NOT WIN32 AND NOT LLVM_LINK_LLVM_DYLIB)
+ llvm_add_library(
----------------
I only just noticed this patch, but it feels to me like this was intended to be OR here, because the condition to be avoided seems to be `WIN32 AND LLVM_LINK_LLVM_DYLIB`, which inverted is `NOT WIN32 OR NOT LLVM_LINK_LLVM_DYLIB`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121687/new/
https://reviews.llvm.org/D121687
More information about the cfe-commits
mailing list