Skip to content

Commit 8335dd3

Browse files
committed
Revert "Adorn __call_once_proxy with inline and _LIBCPP_INLINE_VISIBILITY"
While this change didn't really hurt, it does lead to spurious warnings about not being able to override weak symbols if you end up linking objects built with this change to ones built without it. Furthermore, since __call_once_proxy is called indirectly anyway it doesn't actually inline ever. Longer term, it would probably make sense to give this symbol internal visibility instead. This reverts r291497 llvm-svn: 293581
1 parent b6491cc commit 8335dd3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libcxx/include/mutex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,6 @@ public:
559559
#endif
560560

561561
template <class _Fp>
562-
inline _LIBCPP_INLINE_VISIBILITY
563562
void
564563
__call_once_proxy(void* __vp)
565564
{

0 commit comments

Comments
 (0)