Commit Graph

3 Commits

Author SHA1 Message Date
Egor Zhdan
c167f4045b [cxx-interop] Conform std::optional to ExpressibleByNilLiteral
This will allow passing `nil` as a parameter to a C++ function that takes a `std::optional<T>`.

rdar://114194600
2023-08-21 19:21:40 +01:00
Egor Zhdan
e0d7f52467 [cxx-interop] Adjust a test
This prevents a name conflict between a Swift `protocol CxxOptional` and a C++ `using CxxOptional`.
2023-08-08 17:45:18 +01:00
Egor Zhdan
cc23f46c92 [cxx-interop] Add a test for std::optional usage from Swift 2023-02-14 17:47:08 +00:00