Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions test/Interop/Cxx/class/access/swiftify-private-fileid.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
// REQUIRES: swift_feature_SafeInteropWrappers
// REQUIRES: std_span

// rdar://163511959 error: circular reference
// XFAIL: *

//--- Inputs/swiftify-non-public.h
#pragma once

Expand Down
3 changes: 3 additions & 0 deletions test/Interop/Cxx/class/noncopyable-typechecker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
// RUN: %target-swift-frontend -cxx-interoperability-mode=default -typecheck -verify -I %swift_src_root/lib/ClangImporter/SwiftBridging -I %t%{fs-sep}Inputs %t%{fs-sep}test.swift -verify-additional-file %t%{fs-sep}Inputs%{fs-sep}noncopyable.h
// RUN: %target-swift-frontend -cxx-interoperability-mode=default -Xcc -std=c++20 -verify-additional-prefix cpp20- -D CPP20 -typecheck -verify -I %swift_src_root/lib/ClangImporter/SwiftBridging -I %t%{fs-sep}Inputs %t%{fs-sep}test.swift -verify-additional-file %t%{fs-sep}Inputs%{fs-sep}noncopyable.h

// rdar://163511959 error: circular reference
// XFAIL: *

//--- Inputs/module.modulemap
module Test {
header "noncopyable.h"
Expand Down
5 changes: 4 additions & 1 deletion test/Interop/Cxx/class/safe-interop-mode-darwin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
// REQUIRES: swift_feature_LifetimeDependence
// REQUIRES: OS=macosx

// rdar://163511959 error: circular reference
// XFAIL: *

//--- Inputs/module.modulemap
module Test {
header "nonescapable.h"
Expand All @@ -31,4 +34,4 @@ func simdConsideredSafe(x : MySimd) {

func simdVecConsideredSafe(x : VecOfSimd) {
let _ = x
}
}
3 changes: 3 additions & 0 deletions test/Interop/Cxx/class/safe-interop-mode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
// REQUIRES: swift_feature_LifetimeDependence
// REQUIRES: std_span

// rdar://163511959 error: circular reference
// XFAIL: *

//--- Inputs/module.modulemap
module Test {
header "nonescapable.h"
Expand Down
3 changes: 3 additions & 0 deletions test/Interop/Cxx/operators/member-inline.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
//
// REQUIRES: executable_test

// rdar://163511959 error: circular reference
// XFAIL: *

import MemberInline
import StdlibUnittest

Expand Down
3 changes: 3 additions & 0 deletions test/Interop/Cxx/stdlib/foundation-and-std-module.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

// RUN: ls -R %/t | %FileCheck %s

// rdar://163511959 error: circular reference
// XFAIL: *

#if canImport(Foundation)
import Foundation
#endif
Expand Down
3 changes: 3 additions & 0 deletions test/Interop/Cxx/stdlib/std-span-interface.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
// REQUIRES: swift_feature_Lifetimes
// REQUIRES: std_span

// rdar://163511959 error: circular reference
// XFAIL: *

#if !BRIDGING_HEADER
import StdSpan
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
// REQUIRES: executable_test
// REQUIRES: std_span

// rdar://163511959 error: circular reference
// XFAIL: *

#if !BRIDGING_HEADER
import StdSpan
#endif
Expand Down
3 changes: 3 additions & 0 deletions test/Interop/Cxx/stdlib/use-std-any.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
// type, which Swift isn't able to instantiate.
// UNSUPPORTED: OS=windows-msvc

// rdar://163511959 error: circular reference
// XFAIL: *

import StdlibUnittest
import StdAny
import CxxStdlib
Expand Down
3 changes: 3 additions & 0 deletions test/Interop/Cxx/stdlib/use-std-chrono.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

// REQUIRES: executable_test

// rdar://163511959 error: circular reference
// XFAIL: *

import StdlibUnittest
import CxxStdlib

Expand Down
3 changes: 3 additions & 0 deletions test/Interop/Cxx/stdlib/use-std-function.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

// REQUIRES: executable_test

// rdar://163511959 error: circular reference
// XFAIL: *

import StdlibUnittest
import StdFunction
import CxxStdlib
Expand Down
3 changes: 3 additions & 0 deletions test/Interop/Cxx/stdlib/use-std-optional.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
// rdar://121551667
// XFAIL: OS=freebsd

// rdar://163511959 error: circular reference
// XFAIL: *

import StdlibUnittest
import StdOptional
import CxxStdlib
Expand Down
3 changes: 3 additions & 0 deletions test/Interop/Cxx/stdlib/use-std-pair.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

// REQUIRES: executable_test

// rdar://163511959 error: circular reference
// XFAIL: *

import StdlibUnittest
import StdPair
import CxxStdlib
Expand Down
3 changes: 3 additions & 0 deletions test/Interop/Cxx/stdlib/use-std-set.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
// REQUIRES: OS=macosx || OS=linux-gnu
// UNSUPPORTED: LinuxDistribution=fedora-41

// rdar://163511959 error: circular reference
// XFAIL: *

import StdlibUnittest
#if !BRIDGING_HEADER
import StdSet
Expand Down
3 changes: 3 additions & 0 deletions test/Interop/Cxx/stdlib/use-std-span-typechecker.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// RUN: %target-typecheck-verify-swift -I %S/Inputs -enable-experimental-cxx-interop -Xcc -std=c++20 2>&1
// REQUIRES: std_span

// rdar://163511959 error: circular reference
// XFAIL: *

import StdSpan

let arr: [Int32] = [1, 2, 3]
Expand Down
3 changes: 3 additions & 0 deletions test/Interop/Cxx/stdlib/use-std-span.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
// REQUIRES: executable_test
// REQUIRES: std_span

// rdar://163511959 error: circular reference
// XFAIL: *

import StdlibUnittest
#if !BRIDGING_HEADER
import StdSpan
Expand Down
3 changes: 3 additions & 0 deletions test/Interop/Cxx/stdlib/use-std-string-view.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

// REQUIRES: executable_test

// rdar://163511959 error: circular reference
// XFAIL: *

import StdlibUnittest
import CxxStdlib
import StdStringView
Expand Down
3 changes: 3 additions & 0 deletions test/Interop/Cxx/stdlib/use-std-string-with-opts.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

// Tests optimizations related to CxxStdlib.

// rdar://163511959 error: circular reference
// XFAIL: *

import StdlibUnittest
import CxxStdlib
import StdStringAndVector
Expand Down
3 changes: 3 additions & 0 deletions test/Interop/Cxx/stdlib/use-std-string.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
//
// REQUIRES: executable_test

// rdar://163511959 error: circular reference
// XFAIL: *

import StdlibUnittest
import CxxStdlib
#if USE_CUSTOM_STRING_API
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
// RUN: %target-swift-frontend -emit-module -plugin-path %swift-plugin-dir -o %t/Test.swiftmodule -I %t/Inputs -enable-experimental-feature SafeInteropWrappers -strict-memory-safety -warnings-as-errors -Xcc -Werror %t/test.swift -cxx-interoperability-mode=default -Xcc -std=c++20 -verify -verify-additional-file %t/Inputs/instance.h -DVERIFY
// RUN: env SWIFT_BACKTRACE="" %target-swift-frontend -emit-module -plugin-path %swift-plugin-dir -o %t/Test.swiftmodule -I %t/Inputs -enable-experimental-feature SafeInteropWrappers -strict-memory-safety -warnings-as-errors -Xcc -Werror %t/test.swift -cxx-interoperability-mode=default -Xcc -std=c++20 -dump-macro-expansions 2>&1 | %FileCheck %s --match-full-lines --strict-whitespace --implicit-check-not __swiftmacro

// rdar://163511959 error: circular reference
// XFAIL: *

//--- test.swift
import Instance

Expand Down
2 changes: 2 additions & 0 deletions test/Interop/Cxx/swiftify-import/span-in-ctor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
// CHECK: unsafe self.init(IntSpan(sp))
// CHECK: }

// rdar://163511959 error: circular reference
// XFAIL: *

//--- Inputs/module.modulemap
module Method {
Expand Down