mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-25 04:56:13 +08:00
[libc++] Remove unneeded visibility pragmas
The function definitions being guarded by the pragma were all static, so they wouldn't be exported anyway. In any case, we should prefer the visibility macros. No functional change. Differential Revision: https://reviews.llvm.org/D26940 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@287768 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -90,8 +90,6 @@ steady_clock::now() _NOEXCEPT
|
|||||||
// MachInfo.numer / MachInfo.denom is often 1 on the latest equipment. Specialize
|
// MachInfo.numer / MachInfo.denom is often 1 on the latest equipment. Specialize
|
||||||
// for that case as an optimization.
|
// for that case as an optimization.
|
||||||
|
|
||||||
#pragma GCC visibility push(hidden)
|
|
||||||
|
|
||||||
static
|
static
|
||||||
steady_clock::rep
|
steady_clock::rep
|
||||||
steady_simplified()
|
steady_simplified()
|
||||||
@@ -129,8 +127,6 @@ init_steady_clock()
|
|||||||
return &steady_full;
|
return &steady_full;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma GCC visibility pop
|
|
||||||
|
|
||||||
steady_clock::time_point
|
steady_clock::time_point
|
||||||
steady_clock::now() _NOEXCEPT
|
steady_clock::now() _NOEXCEPT
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user