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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D35388: [libc++] Giv... Shoaib Meenai via Phabricator via cfe-commits

Reply via email to