summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2017-01-09 23:07:12 +0000
committerJustin Bogner <mail@justinbogner.com>2017-01-09 23:07:12 +0000
commit603715c66b6b741c75e496c3a68193b4a84d8289 (patch)
treee3bbf99070dd33679cd443c7026ebcf515757ff7
parent817c9d66f0b5a22f127fef65b13dfe414c7256ae (diff)
downloadbcm5719-llvm-603715c66b6b741c75e496c3a68193b4a84d8289.tar.gz
bcm5719-llvm-603715c66b6b741c75e496c3a68193b4a84d8289.zip
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. llvm-svn: 291497
-rw-r--r--libcxx/include/mutex1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/include/mutex b/libcxx/include/mutex
index 8526533f140..3b878c642cc 100644
--- a/libcxx/include/mutex
+++ b/libcxx/include/mutex
@@ -559,6 +559,7 @@ public:
#endif
template <class _Fp>
+inline _LIBCPP_INLINE_VISIBILITY
void
__call_once_proxy(void* __vp)
{
OpenPOWER on IntegriCloud