[PATCH] D51789: [clang] Add the exclude_from_explicit_instantiation attribute

Louis Dionne via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 18 06:36:25 PDT 2018


ldionne added a comment.

I'm thinking about this some more, and I'm wondering whether it would be a viable solution to just exclude members marked with hidden visibility from explicit template instantiations (and declarations thereof). I thought I had been convinced by Hubert <http://lists.llvm.org/pipermail/cfe-dev/2018-July/058471.html> that visibility and this attribute should be left separate, but now I'm not sure anymore. I don't think there's a single case of a member function with hidden visibility that we don't want to exclude from explicit instantiations. @rsmith Thoughts?


Repository:
  rC Clang

https://reviews.llvm.org/D51789





More information about the cfe-commits mailing list