Skip to content

Commit a5502cd

Browse files
authored
Merge pull request #8066 from CodaFi/total-mass-retain
2 parents 1bbb941 + 6543405 commit a5502cd

24 files changed

+25
-61
lines changed

validation-test/compiler_crashers/28657-unreachable-executed-at-swift-lib-ast-type-cpp-1344.swift renamed to validation-test/compiler_crashers_fixed/28657-unreachable-executed-at-swift-lib-ast-type-cpp-1344.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// REQUIRES: deterministic-behavior
98

10-
// RUN: not --crash %target-swift-frontend %s -emit-ir
9+
// RUN: not %target-swift-frontend %s -emit-ir
1110
func b(UInt=1 + 1 as?Int){$
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// REQUIRES: asserts
9-
// REQUIRES: deterministic-behavior
10-
// RUN: not --crash %target-swift-frontend %s -emit-ir
8+
// RUN: not %target-swift-frontend %s -emit-ir
119
{func b(UInt=1 + 1 as?Int){f
10+


validation-test/compiler_crashers/28665-result-case-not-implemented.swift renamed to validation-test/compiler_crashers_fixed/28665-result-case-not-implemented.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// REQUIRES: asserts
9-
// REQUIRES: deterministic-behavior
10-
// RUN: not --crash %target-swift-frontend %s -emit-ir
8+
// RUN: not %target-swift-frontend %s -emit-ir
119
{func a(UInt=1 + 1 + 1 as?Int){
1210
typealias e:A(t:_
1311
func a{

validation-test/compiler_crashers/28667-result-case-not-implemented.swift renamed to validation-test/compiler_crashers_fixed/28667-result-case-not-implemented.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// REQUIRES: deterministic-behavior
9-
// RUN: not --crash %target-swift-frontend %s -emit-ir
8+
// RUN: not %target-swift-frontend %s -emit-ir
109
{extension{{}func b(UInt=_=1 + 1 as?Int){(==S
1110
class d
1211
func b(=_{$0=a(ol a=a(

validation-test/compiler_crashers/28672-result-case-not-implemented.swift renamed to validation-test/compiler_crashers_fixed/28672-result-case-not-implemented.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// REQUIRES: deterministic-behavior
9-
// REQUIRES: asserts
10-
// RUN: not --crash %target-swift-frontend %s -emit-ir
8+
// RUN: not %target-swift-frontend %s -emit-ir
119
a
1210
V!in{
1311
class B{func b(UInt=1 + 1 + 1 as?Int)

validation-test/compiler_crashers/28673-swift-typebase-getcanonicaltype.swift renamed to validation-test/compiler_crashers_fixed/28673-swift-typebase-getcanonicaltype.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// REQUIRES: deterministic-behavior
98

10-
// RUN: not --crash %target-swift-frontend %s -emit-ir
9+
// RUN: not %target-swift-frontend %s -emit-ir
1110
class C{}@&{
1211
func b(UInt=1 + 1 + 1 as?Int){
1312
f=a=Aay=b

validation-test/compiler_crashers/28675-swift-typebase-getdesugaredtype.swift renamed to validation-test/compiler_crashers_fixed/28675-swift-typebase-getdesugaredtype.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// RUN: not --crash %target-swift-frontend %s -emit-ir
8+
// RUN: not %target-swift-frontend %s -emit-ir
99

10-
// REQUIRES: deterministic-behavior
1110
Int)func b(UInt=1 + 1 + 1 + 1 as?Int){{{{{{{{{{{{{a{

validation-test/compiler_crashers/28678-result-case-not-implemented.swift renamed to validation-test/compiler_crashers_fixed/28678-result-case-not-implemented.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// REQUIRES: deterministic-behavior
9-
// REQUIRES: asserts
10-
// RUN: not --crash %target-swift-frontend %s -emit-ir
8+
// RUN: not %target-swift-frontend %s -emit-ir
119
[{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
1210
{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{func b(UInt=1 + 1 as?Int){{{{{ }struct c=1 + 1 + 1 as?Int){{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
1311
[.==A{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{

validation-test/compiler_crashers/28680-swift-typebase-getdesugaredtype.swift renamed to validation-test/compiler_crashers_fixed/28680-swift-typebase-getdesugaredtype.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// REQUIRES: deterministic-behavior
9-
// RUN: not --crash %target-swift-frontend %s -emit-ir
8+
// RUN: not %target-swift-frontend %s -emit-ir
109
(_
1110
func t(UInt=1 + 1 + 1 + 1 as?Int){{{{{{{{{{{{{h{

validation-test/compiler_crashers/28683-result-case-not-implemented.swift renamed to validation-test/compiler_crashers_fixed/28683-result-case-not-implemented.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// REQUIRES: deterministic-behavior
9-
// REQUIRES: asserts
10-
// RUN: not --crash %target-swift-frontend %s -emit-ir
8+
// RUN: not %target-swift-frontend %s -emit-ir
119
{func t(UInt=_=1 + 1 as?Int){{{{{{{{y v

validation-test/compiler_crashers/28685-unreachable-executed-at-swift-lib-ast-type-cpp-1344.swift renamed to validation-test/compiler_crashers_fixed/28685-unreachable-executed-at-swift-lib-ast-type-cpp-1344.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// REQUIRES: deterministic-behavior
9-
// RUN: not --crash %target-swift-frontend %s -emit-ir
8+
// RUN: not %target-swift-frontend %s -emit-ir
109
{{{{+1 as?Int{{func b(UInt=1 + 1 + 1 + 1 as?Int){{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{t =={t(h{{{{{{{{{{{{{{{{f{

validation-test/compiler_crashers/28686-swift-typebase-getcanonicaltype.swift renamed to validation-test/compiler_crashers_fixed/28686-swift-typebase-getcanonicaltype.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// REQUIRES: deterministic-behavior
9-
// RUN: not --crash %target-swift-frontend %s -emit-ir
8+
// RUN: not %target-swift-frontend %s -emit-ir
109
protocol A.{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{let f&(a=a?Int){{{{{{{{{{{{{{{{{{{{{{{{{{{(_
1110
}
1211
}func b(UInt=1 + 1 + 1 + 1 as?Int){{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{(_{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{

validation-test/compiler_crashers/28687-unreachable-executed-at-swift-lib-ast-type-cpp-1349.swift renamed to validation-test/compiler_crashers_fixed/28687-unreachable-executed-at-swift-lib-ast-type-cpp-1349.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// REQUIRES: deterministic-behavior
9-
// RUN: not --crash %target-swift-frontend %s -emit-ir
8+
// RUN: not %target-swift-frontend %s -emit-ir
109
{{{{func a(UInt=1 + 1 as?Int){{{{{{A{{{{{{{{{{{{{{{{{{{{{{{{

validation-test/compiler_crashers/28688-unreachable-executed-at-swift-lib-ast-type-cpp-1349.swift renamed to validation-test/compiler_crashers_fixed/28688-unreachable-executed-at-swift-lib-ast-type-cpp-1349.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// REQUIRES: deterministic-behavior
9-
// RUN: not --crash %target-swift-frontend %s -emit-ir
8+
// RUN: not %target-swift-frontend %s -emit-ir
109
func d(UInt=_=1 + 1 + 1 as?Int){guard let c=()a=1 1 guard let{p.a{f=1?It{{{[{{{{{{P{_.s{{{&({{b

validation-test/compiler_crashers/28691-result-case-not-implemented.swift renamed to validation-test/compiler_crashers_fixed/28691-result-case-not-implemented.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// REQUIRES: deterministic-behavior
9-
// REQUIRES: asserts
10-
// RUN: not --crash %target-swift-frontend %s -emit-ir
8+
// RUN: not %target-swift-frontend %s -emit-ir
119
{s?init(UInt=1 + 1 as?Int){

validation-test/compiler_crashers/28694-result-case-not-implemented.swift renamed to validation-test/compiler_crashers_fixed/28694-result-case-not-implemented.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// REQUIRES: deterministic-behavior
9-
// REQUIRES: asserts
10-
// RUN: not --crash %target-swift-frontend %s -emit-ir
8+
// RUN: not %target-swift-frontend %s -emit-ir
119
{P{}func b(UInt=1 + 1 as?Int){
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,5 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// RUN: not --crash %target-swift-frontend %s -emit-ir
9-
10-
// Temporarily disabled
11-
// REQUIRES: SR-4219
12-
8+
// RUN: not %target-swift-frontend %s -emit-ir
139
{{extension{init(UInt=_=1 + 1 as?Int?Int){var f=nil?Int
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// REQUIRES: deterministic-behavior
98

10-
// REQUIRES: asserts
11-
// RUN: not --crash %target-swift-frontend %s -emit-ir
9+
// RUN: not %target-swift-frontend %s -emit-ir
1210
{func c(UInt=1 + 1 as?Int){b
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// REQUIRES: asserts
9-
// REQUIRES: deterministic-behavior
10-
// RUN: not --crash %target-swift-frontend %s -emit-ir
8+
// RUN: not %target-swift-frontend %s -emit-ir
119
{ struct c{func ulntatin(UInt=1 + 1 as?Int){a{a

validation-test/compiler_crashers/28702-swift-typebase-getcanonicaltype.swift renamed to validation-test/compiler_crashers_fixed/28702-swift-typebase-getcanonicaltype.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// REQUIRES: deterministic-behavior
9-
// RUN: not --crash %target-swift-frontend %s -emit-ir
8+
// RUN: not %target-swift-frontend %s -emit-ir
109
{extension{func(UInt=1 + 1 + 1 as?Int){a

validation-test/compiler_crashers/28710-swift-typebase-getdesugaredtype.swift renamed to validation-test/compiler_crashers_fixed/28710-swift-typebase-getdesugaredtype.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// RUN: not --crash %target-swift-frontend %s -emit-ir
9-
// REQUIRES: deterministic-behavior
8+
// RUN: not %target-swift-frontend %s -emit-ir
109
protocol A.init(UInt=_=1 + 1){{let c{extension{lazy var f={

validation-test/compiler_crashers/28714-result-case-not-implemented.swift renamed to validation-test/compiler_crashers_fixed/28714-result-case-not-implemented.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// REQUIRES: deterministic-behavior
9-
// REQUIRES: asserts
10-
// RUN: not --crash %target-swift-frontend %s -emit-ir
8+
// RUN: not %target-swift-frontend %s -emit-ir
119
{extension{func a(UInt=1 + 1 as?Int){a

validation-test/compiler_crashers/28717-result-case-not-implemented.swift renamed to validation-test/compiler_crashers_fixed/28717-result-case-not-implemented.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@
55
// See https://swift.org/LICENSE.txt for license information
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

8-
// REQUIRES: deterministic-behavior
9-
// REQUIRES: asserts
10-
// RUN: not --crash %target-swift-frontend %s -emit-ir
8+
// RUN: not %target-swift-frontend %s -emit-ir
119
A:{ struct A{func a(UInt=1 + 1 + 1 + 1 as?Int){

validation-test/compiler_crashers/28719-currentconstraintsolverarena-no-constraint-solver-active.swift renamed to validation-test/compiler_crashers_fixed/28719-currentconstraintsolverarena-no-constraint-solver-active.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
77

88
// REQUIRES: asserts
9-
// RUN: not --crash %target-swift-frontend %s -emit-ir
9+
// RUN: not %target-swift-frontend %s -emit-ir
1010
:{func t(UInt=1 + 1 + 1 as?Int){[.s
1111
nil?Int

0 commit comments

Comments
 (0)