[clang] [Clang] Fix visibility macros for c-index-test (PR #171054)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 8 12:51:17 PST 2025
kkent030315 wrote:
> > Perhaps some of `if (MSVC)` blocks should be changed to `(WIN32 AND NOT MINGW)`.
>
> `(MSVC OR CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC")` might be better. [gitlab.kitware.com/cmake/cmake/-/issues/19724](https://gitlab.kitware.com/cmake/cmake/-/issues/19724)
I don't think this is suitable for this, let me do some tests. (I did the similar before submitting this PR, didnt worked iirc)
https://github.com/llvm/llvm-project/pull/171054
More information about the cfe-commits
mailing list