[PATCH] D35388: [libc++] Give extern templates default visibility on gcc

Shoaib Meenai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 14 16:32:20 PDT 2017


smeenai added a comment.

Good point. It looks like clang actually ignores the attributes in that case as well; it just doesn't warn you about it :D

Take a look at https://godbolt.org/g/CJTD6c to see what I mean. Note the `.hidden c<int>::f()` in both the gcc and clang outputs.


https://reviews.llvm.org/D35388





More information about the cfe-commits mailing list