[PATCH] D26940: [libc++] Remove unneeded visibility pragmas
Shoaib Meenai via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 21 15:01:17 PST 2016
smeenai created this revision.
smeenai added reviewers: EricWF, mclow.lists.
smeenai added a subscriber: cfe-commits.
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.
@@ -90,8 +90,6 @@
// MachInfo.numer / MachInfo.denom is often 1 on the latest equipment. Specialize
// for that case as an optimization.
-#pragma GCC visibility push(hidden)
@@ -129,8 +127,6 @@
-#pragma GCC visibility pop
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 500 bytes
Desc: not available
More information about the cfe-commits