[clang] [Clang] Add explicit visibility symbol macros (PR #108276)

Saleem Abdulrasool via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 11 12:25:38 PDT 2024


================
@@ -166,7 +166,7 @@ if(ENABLE_SHARED)
     set_target_properties(libclang
       PROPERTIES
       VERSION ${LIBCLANG_LIBRARY_VERSION}
-      DEFINE_SYMBOL _CINDEX_LIB_)
+      DEFINE_SYMBOL _CINDEX_LIB_  DEFINE_SYMBOL CLANG_EXPORTS)
----------------
compnerd wrote:

This will override the `_CINDEX_LIB_` symbol, so this seems incorrect.

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


More information about the cfe-commits mailing list