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)
 {


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to