Fix _LIBCPP_EXTERN_TEMPLATE_INLINE_VISIBILITY to always have default visibility.
authorEric Fiselier <eric@efcs.ca>
Mon, 31 Oct 2016 02:07:23 +0000 (02:07 +0000)
committerEric Fiselier <eric@efcs.ca>
Mon, 31 Oct 2016 02:07:23 +0000 (02:07 +0000)
commit7ca76565e7c3e206011072673347e7ab63428207
tree379f123af815972459ae098274a48f3e3e4ef11b
parentef915d3ef476f9de691300b6c6f9862b6b5607f8
Fix _LIBCPP_EXTERN_TEMPLATE_INLINE_VISIBILITY to always have default visibility.

This prevent the symbols from being both externally available and hidden, which
causes them to be linked incorrectly. This is only a problem when the address
of the function is explicitly taken since it will always be inlined otherwise.

This patch fixes the issues that caused r285456 to be reverted, and can
now be reapplied.

llvm-svn: 285531
libcxx/docs/DesignDocs/VisibilityMacros.rst
libcxx/include/__config
libcxx/test/std/strings/basic.string/string.cons/dtor_noexcept.pass.cpp