[all-commits] [llvm/llvm-project] 411512: Optional: Avoid value() uses
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sat Dec 17 14:30:49 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 411512a7ce9c960bb2ac5b976d45f7ca1a2f63de
https://github.com/llvm/llvm-project/commit/411512a7ce9c960bb2ac5b976d45f7ca1a2f63de
Author: Fangrui Song <i at maskray.me>
Date: 2022-12-17 (Sat, 17 Dec 2022)
Changed paths:
M llvm/include/llvm/ADT/Optional.h
M llvm/unittests/ADT/OptionalTest.cpp
Log Message:
-----------
Optional: Avoid value() uses
prerequisite to deprecate the new API value() whose counterpart in
std::optional has undesired exception checking semantics and is
unavailable in older Xcode.
More information about the All-commits
mailing list