aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-12-17 08:10:45 +0000
committerFangrui Song <i@maskray.me>2022-12-17 08:10:45 +0000
commit1e6adbadc77517037cb0723df26510fb7a8457ec (patch)
tree771789651b49fa7d17f4472c5419140ded7b0f0e /clang/lib/Lex/ModuleMap.cpp
parent4501133d96b6959b18e9f7d4776c171b22846f4a (diff)
downloadllvm-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