[libc++] Add _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
authorShoaib Meenai <smeenai@fb.com>
Mon, 5 Dec 2016 19:40:12 +0000 (19:40 +0000)
committerShoaib Meenai <smeenai@fb.com>
Mon, 5 Dec 2016 19:40:12 +0000 (19:40 +0000)
commitfc6100c195fdcea56f08f4de27397867f0cc8fff
treecd711d49cda87f1d4adb4a7aa5239a572cf227cc
parent846b8f79d4c8f7b395eba40b701fb168406b1416
[libc++] Add _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS

It's useful to be able to disable visibility annotations entirely; for
example, if we're building libc++ static to include in another library,
and we don't want any libc++ functions getting exported out of that
library. This is a generalization of _LIBCPP_DISABLE_DLL_IMPORT_EXPORT.

Differential Revision: https://reviews.llvm.org/D26934

llvm-svn: 288690
libcxx/CMakeLists.txt
libcxx/docs/UsingLibcxx.rst
libcxx/include/__config
libcxx/include/__config_site.in