[libc++] Mark internal types of std::filesystem as hidden
authorLouis Dionne <ldionne@apple.com>
Tue, 19 Mar 2019 17:47:53 +0000 (17:47 +0000)
committerLouis Dionne <ldionne@apple.com>
Tue, 19 Mar 2019 17:47:53 +0000 (17:47 +0000)
commitafd1a23ffb213277139cf8c15023f327635433bb
tree9fa7f5ac316f686abc366814f52b4e8a45abb366
parent60be633a4717f5a8bfba1cfdcbd760780b263a43
[libc++] Mark internal types of std::filesystem as hidden

Summary:
Otherwise, implicit instantiations of templates with these types can
cause the dylib to start exporting the vtable/RTTI of the instantiation.
Giving hidden visibility to those types causes the compiler to understand
that they are not used outside the dylib, and as a result implicitly
instantiated vtables/RTTI of templates with those internal types will
get hidden visibility.

Reviewers: EricWF

Subscribers: christof, jkorous, dexonsmith, jdoerfert, libcxx-commits

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

llvm-svn: 356488
libcxx/include/filesystem