[interop][SwiftToCxx] support std::string -> Swift::String conversion in C++

This commit is contained in:
Alex Lorenz
2022-12-13 07:11:42 -08:00
parent 7c2ee165cc
commit 5c703b4f5c
7 changed files with 68 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
// RUN: %target-swift-frontend %s -typecheck -module-name Functions -enable-experimental-cxx-interop -emit-clang-header-path %t/functions.h
// RUN: %FileCheck %s < %t/functions.h
// RUN: %check-interop-cxx-header-in-clang(%t/functions.h -Wno-shadow -Wno-unused-function)
// RUN: %check-interop-cxx-header-in-clang(%t/functions.h -DSWIFT_CXX_INTEROP_HIDE_STL_OVERLAY -Wno-shadow -Wno-unused-function)
// CHECK-LABEL: namespace Functions __attribute__((swift_private)) {