Fix shared_mutex dll import errors on Windows

llvm-svn: 302394
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: ef40748260b2fadd11cb174d0326d742d7353d9b
diff --git a/include/shared_mutex b/include/shared_mutex
index b0802ae..ff36ee6 100644
--- a/include/shared_mutex
+++ b/include/shared_mutex
@@ -177,7 +177,7 @@
 {
     __shared_mutex_base __base;
 public:
-    shared_mutex() : __base() {}
+    _LIBCPP_INLINE_VISIBILITY shared_mutex() : __base() {}
     _LIBCPP_INLINE_VISIBILITY ~shared_mutex() = default;
 
     shared_mutex(const shared_mutex&) = delete;