[PATCH] D130689: [LLVM] Update C++ standard to 17
Tobias Hieta via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 1 00:55:19 PDT 2022
thieta added a comment.
In D130689#3689157 <https://reviews.llvm.org/D130689#3689157>, @thakis wrote:
> Is it expected and intentional that this increases the mac deployment target to 10.12?
I wasn't aware of that - but I think it's expected since the check in RWMutex checks for the C++ standard and doesn't care about the deployment target for macOS. It seems pretty easy to change, but I wonder if that matters? 10.12 was released in 2016 so it's pretty old and this wouldn't affect most users of LLVM.
My gut feeling say that we should be fine with requiring 10.12 and if that becomes a big problem during the development phase someone could propose a patch to improve the check in RWMutex.
But in that case we should probably have a check for the deployment target as part of the cmake config and error if CXX_STANDARD > 17 and OSX_DEPLOYMENT_TARGET < 10.12.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the cfe-commits