[libcxx-commits] [libcxx] [libc++] Remove a few incorrect _LIBCPP_EXPORTED_FROM_ABI annotations (PR #132602)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Aug 25 08:48:18 PDT 2025
================
@@ -31,7 +31,9 @@ Visibility Macros
Mark a symbol as being part of our ABI. This includes functions that are part
of the libc++ library, type information and other symbols. On Windows,
this macro applies `dllimport`/`dllexport` to the symbol, and on other
- platforms it gives the symbol default visibility.
+ platforms it gives the symbol default visibility. This macro should never be
+ used on class templates. On classes it should only be used if the vtable
+ should be in the shared library.
----------------
ldionne wrote:
```suggestion
used on class templates. On classes it should only be used if the vtable
lives in the built library.
```
https://github.com/llvm/llvm-project/pull/132602
More information about the libcxx-commits
mailing list