diff options
author | Fangrui Song <i@maskray.me> | 2022-12-17 08:10:45 +0000 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-12-17 08:10:45 +0000 |
commit | 1e6adbadc77517037cb0723df26510fb7a8457ec (patch) | |
tree | 771789651b49fa7d17f4472c5419140ded7b0f0e /clang/lib/Lex/ModuleMap.cpp | |
parent | 4501133d96b6959b18e9f7d4776c171b22846f4a (diff) | |
download | llvm-1e6adbadc77517037cb0723df26510fb7a8457ec.zip llvm-1e6adbadc77517037cb0723df26510fb7a8457ec.tar.gz llvm-1e6adbadc77517037cb0723df26510fb7a8457ec.tar.bz2 |
[clang] llvm::Optional::value => operator*/operator->
std::optional::value() has undesired exception checking semantics and is
unavailable in older Xcode (see _LIBCPP_AVAILABILITY_BAD_OPTIONAL_ACCESS). The
call sites block std::optional migration.
This makes `ninja check-clang` work in the absence of llvm::Optional::value.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions