From e70b4ec8afd25354305ec6e536d06a1eebb1f211 Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Tue, 31 Jan 2017 01:26:09 +0000 Subject: [PATCH] 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 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@293581 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/mutex | 1 - 1 file changed, 1 deletion(-) diff --git a/include/mutex b/include/mutex index 3b878c642..8526533f1 100644 --- a/include/mutex +++ b/include/mutex @@ -559,7 +559,6 @@ public: #endif template -inline _LIBCPP_INLINE_VISIBILITY void __call_once_proxy(void* __vp) {