mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Translating more llvm::Optional::transform calls to swift::transform. `llvm::Optional` had a transform function that ran a lambda on the element stored in the optional if it existed. After migrating to std::optional under the hood, that function went away. Replacing it with calls to swift::optional in STLExtras.h.
3.9 KiB
3.9 KiB