diff options
author | Fangrui Song <i@maskray.me> | 2022-12-17 04:38:27 +0000 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-12-17 04:38:27 +0000 |
commit | 4913e5da3c2a73b14bf1b26902920003177948b9 (patch) | |
tree | 88c58b0270dc35b92d029597151bf6d7dd59d24e /clang/lib/Lex/ModuleMap.cpp | |
parent | 2098ad7f00324ee0f2a6538f418a6f81dfdd2edb (diff) | |
download | llvm-4913e5da3c2a73b14bf1b26902920003177948b9.zip llvm-4913e5da3c2a73b14bf1b26902920003177948b9.tar.gz llvm-4913e5da3c2a73b14bf1b26902920003177948b9.tar.bz2 |
[mlir] std::optional::value => operator*/operator->
value() has undesired exception checking semantics and calls
__throw_bad_optional_access in libc++. Moreover, the API is unavailable without
_LIBCPP_NO_EXCEPTIONS on older Mach-O platforms (see
_LIBCPP_AVAILABILITY_BAD_OPTIONAL_ACCESS).
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions