commit | ad2305c21b02a64dd947838ba5c669807fa31ebd | [log] [tgz] |
---|---|---|
author | Fangrui Song <i@maskray.me> | Sat Dec 17 06:37:59 2022 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Dec 16 22:41:15 2022 -0800 |
tree | 1f60f188600ee3a5512a6251f046ea7aaf4dc4c7 | |
parent | 4f136828d9d807afc219ed62ff34f2208fbd1cb8 [diff] |
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 clang` work in the absence of llvm::Optional::value. GitOrigin-RevId: 53e5cd4d3e39dad47312a48d4c6c71318bb2c283