G M: A small patch to fix a couple of warnings in stdexcept.cpp for cl.exe which does not support #pragma visibility.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@191988 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant 2013-10-04 22:12:59 +00:00
parent 1e564246ec
commit 9844b6796b

View File

@ -28,7 +28,9 @@
// Note: optimize for size // Note: optimize for size
#if ! defined(_LIBCPP_MSVC)
#pragma GCC visibility push(hidden) #pragma GCC visibility push(hidden)
#endif
namespace namespace
{ {
@ -91,7 +93,9 @@ __libcpp_nmstr::~__libcpp_nmstr()
} }
#if ! defined(_LIBCPP_MSVC)
#pragma GCC visibility pop #pragma GCC visibility pop
#endif
namespace std // purposefully not using versioning namespace namespace std // purposefully not using versioning namespace
{ {