EricWF added a comment.

In https://reviews.llvm.org/D27153#606296, @smeenai wrote:

> I'm having some second thoughts about this. Visibility for template functions 
> makes my head spin :/ Is there a general policy we've been following for 
> these? I didn't find much just scanning through other definitions.


I would suggest adding the `inline` keyword so that implicit instantiation are 
marked hidden when `-fvisibility-inlines-hidden`. That should be sufficient to 
hide the implicit instantiations in `libc++.so`.


https://reviews.llvm.org/D27153



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to