[PATCH] D145206: [NFC] Properly handle optional minor value for ArchInfo::Version
Zixu Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 2 16:50:12 PST 2023
zixuw added a comment.
This fixes the checking logic, and also works around a build failure with `clang/unittest/Interpreter/ExceptionTests` which enables exceptions. `std::optional::value()` throws `std::bad_optional_access`, which won't build if targeting older versions of macOS
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145206/new/
https://reviews.llvm.org/D145206
More information about the llvm-commits
mailing list