aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-08-15 22:19:38 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-08-15 22:19:38 +0000
commit563e25f338771638dcba905e2fc1101c19ad18f5 (patch)
treecadf9ba661368911d39e6bab5c4872d652023115 /clang/lib/Frontend/CompilerInvocation.cpp
parent2fb4e754c64a023c16edcd69f89234300477d2f0 (diff)
downloadllvm-563e25f338771638dcba905e2fc1101c19ad18f5.zip
llvm-563e25f338771638dcba905e2fc1101c19ad18f5.tar.gz
llvm-563e25f338771638dcba905e2fc1101c19ad18f5.tar.bz2
[Support] Re-introduce the RWMutexImpl for macOS < 10.12
In r369018, Benjamin replaced the custom RWMutex implementation with their C++14 counterpart. Unfortunately, std::shared_timed_mutex is only available on macOS 10.12 and later. This prevents LLVM from compiling even on newer versions of the OS when you have an older deployment target. This patch reintroduced the old RWMutexImpl but guards it by the macOS availability macro. Differential revision: https://reviews.llvm.org/rL369018 llvm-svn: 369056
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions