[libcxx] r291497 - Adorn __call_once_proxy with `inline` and `_LIBCPP_INLINE_VISIBILITY`

Justin Bogner via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 9 15:07:13 PST 2017


Author: bogner
Date: Mon Jan  9 17:07:12 2017
New Revision: 291497

URL: http://llvm.org/viewvc/llvm-project?rev=291497&view=rev
Log:
Adorn __call_once_proxy with `inline` and `_LIBCPP_INLINE_VISIBILITY`

As per discussion with mclow and EricWF on irc, this is small and
simple enough to deserve being inlined.

Modified:
    libcxx/trunk/include/mutex

Modified: libcxx/trunk/include/mutex
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/mutex?rev=291497&r1=291496&r2=291497&view=diff
==============================================================================
--- libcxx/trunk/include/mutex (original)
+++ libcxx/trunk/include/mutex Mon Jan  9 17:07:12 2017
@@ -559,6 +559,7 @@ public:
 #endif
 
 template <class _Fp>
+inline _LIBCPP_INLINE_VISIBILITY
 void
 __call_once_proxy(void* __vp)
 {




More information about the cfe-commits mailing list