mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #61823 from Robertorosmaninho/interop/ExpectedClassForErrorHandling
[Interop][SwiftToCxx] Introduces swift::Expected
This commit is contained in:
@@ -799,6 +799,7 @@ EmittedClangHeaderDependencyInfo swift::printModuleContentsAsCxx(
|
||||
os << "#ifndef SWIFT_CXX_INTEROP_HIDE_STL_OVERLAY\n";
|
||||
os << "#include <string>\n";
|
||||
os << "#endif\n";
|
||||
os << "#include <new>\n";
|
||||
// Embed an overlay for the standard library.
|
||||
ClangSyntaxPrinter(moduleOS).printIncludeForShimHeader(
|
||||
"_SwiftStdlibCxxOverlay.h");
|
||||
|
||||
Reference in New Issue
Block a user