Unfortunately, std::shared_timed_mutex is only available on macOS 10.12 and later. This prevents LLVM from compiling when you have a deployment target that's older. This patch reintroduced the old RWMutexImpl but guards it by the macOS availability macro.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
It's not pretty, but it fixes the issue. We will need a better story for other partially available symbols when we'll be moving over to C++17.
Comment Actions
Could you document this limitation in CodingStandards.rst, like what I removed for C++11 in https://reviews.llvm.org/D66195#change-S42p9rAdiuZJ ?