Set _LIBCPP_DLL_VIS on _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS in MinGW mode
authorMartin Storsjo <martin@martin.st>
Thu, 25 Apr 2019 19:46:28 +0000 (19:46 +0000)
committerMartin Storsjo <martin@martin.st>
Thu, 25 Apr 2019 19:46:28 +0000 (19:46 +0000)
commit2bbb7feda84f59134a3d3d1e7a083a6857507ea4
treedbfb1cd68b65bf626ff98cc2a384efe9bdca99bf
parent8edf8f317b59e9a69823c816e850a04b9b6ae015
Set _LIBCPP_DLL_VIS on _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS in MinGW mode

Contrary to MSVC, MinGW compilers wants the dllexport attribute on
the declaration of an explicit template instantiation, not on the
definition.

Differential Revision: https://reviews.llvm.org/D61123

llvm-svn: 359227
libcxx/include/__config