This patch deprecates Optional::map in favor of Optional::transform
for consistency with std::optional::transform in C++23.
Note that I've migrated all known users of Optional::map.
Paths
| Differential D131842
[ADT] Deprecate Optional::map ClosedPublic Authored by kazu on Aug 13 2022, 12:07 PM.
Details
Summary This patch deprecates Optional::map in favor of Optional::transform Note that I've migrated all known users of Optional::map.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 14 2022, 1:39 PM This revision was landed with ongoing or failed builds.Aug 14 2022, 5:52 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 452578 llvm/include/llvm/ADT/Optional.h
|