[libcxx-commits] [libcxx] [libc++] Introduce a new attribute keyword for Clang improves compatibility with Mingw-GCC (PR #141040)

Tomohiro Kashiwada via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jul 17 05:48:26 PDT 2025


kikairoya wrote:

Thank you for the detailed explanation.

Just to clarify one point -- as I understand it, we’re in agreement that Clang in MinGW mode should not implicitly instantiate a nested class of a class template that has an explicit instantiation declaration (setting aside whether to export it) unlike MSVC, correct?

I'm trying to patch Clang to export nested classes in order to test it with real projects, but I'm running into some edge cases. Templates are tricky...



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


More information about the libcxx-commits mailing list