[PATCH] D51789: [clang] Add the exclude_from_explicit_instantiation attribute
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 18 08:12:54 PDT 2018
rjmccall added a comment.
That may work for libc++'s purposes, but it's clearly inappropriate as a compiler rule. There are good reasons why something with hidden visibility would need to be explicitly instantiated. For many programmers, hidden visibility means "this is private to my library", not "this is actually public to my library, but I'm walking an ABI tightrope".
Repository:
rC Clang
https://reviews.llvm.org/D51789
More information about the cfe-commits
mailing list