[all-commits] [llvm/llvm-project] d1f475: [clang] llvm::Optional::value() && => operator*/op...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sat Dec 17 11:47:59 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d1f475347518bdab387f21cda2281c0939a80f70
https://github.com/llvm/llvm-project/commit/d1f475347518bdab387f21cda2281c0939a80f70
Author: Fangrui Song <i at maskray.me>
Date: 2022-12-17 (Sat, 17 Dec 2022)
Changed paths:
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
M clang/lib/Sema/SemaRISCVVectorLookup.cpp
M clang/unittests/Analysis/MacroExpansionContextTest.cpp
M clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list