[clang] [Clang] Fix visibility macros for c-index-test (PR #171054)

via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 7 14:44:22 PST 2025


kkent030315 wrote:

> I believe this breaks dylib builds (`-DCLANG_LINK_CLANG_DYLIB=ON`), which is still in progress. `__declspec(dllimport)` is essential for that.

How so? Can you be more specific how this would break dylib builds, and what exactly is in the progress?

As mentioned in the comment dllimport attribute is not strictly required, it's safe to remove it.


https://github.com/llvm/llvm-project/pull/171054


More information about the cfe-commits mailing list