|
44 | 44 | // RUN: -experimental-allow-non-resilient-access \
|
45 | 45 | // RUN: -emit-module -emit-module-path %t/Utils.swiftmodule \
|
46 | 46 | // RUN: 2>&1 | %FileCheck %s --check-prefix=CHECK-DIAG-1
|
47 |
| -// CHECK-DIAG-1: warning: ignoring -experimental-skip-non-exportable-decls (overriden by -experimental-allow-non-resilient-access) |
| 47 | +// CHECK-DIAG-1: warning: ignoring -experimental-skip-non-exportable-decls (overriden by -allow-non-resilient-access) |
48 | 48 | // RUN: llvm-bcanalyzer --dump %t/Utils.swiftmodule | %FileCheck %s --check-prefix=CHECK-ON
|
49 | 49 |
|
50 | 50 | /// Override -experimental-skip-non-inlinable-function-bodies-without-types with warning
|
|
57 | 57 | // RUN: -experimental-allow-non-resilient-access \
|
58 | 58 | // RUN: -emit-module -emit-module-path %t/Utils.swiftmodule \
|
59 | 59 | // RUN: 2>&1 | %FileCheck %s --check-prefix=CHECK-DIAG-2
|
60 |
| -// CHECK-DIAG-2: warning: ignoring -experimental-skip-non-inlinable-function-bodies-without-types (overriden by -experimental-allow-non-resilient-access) |
| 60 | +// CHECK-DIAG-2: warning: ignoring -experimental-skip-non-inlinable-function-bodies-without-types (overriden by -allow-non-resilient-access) |
61 | 61 | // RUN: llvm-bcanalyzer --dump %t/Utils.swiftmodule | %FileCheck %s --check-prefix=CHECK-ON
|
62 | 62 |
|
63 | 63 | /// Override -experimental-skip-non-inlinable-function-bodies with warning
|
|
70 | 70 | // RUN: -experimental-allow-non-resilient-access \
|
71 | 71 | // RUN: -emit-module -emit-module-path %t/Utils.swiftmodule \
|
72 | 72 | // RUN: 2>&1 | %FileCheck %s --check-prefix=CHECK-DIAG-3
|
73 |
| -// CHECK-DIAG-3: warning: ignoring -experimental-skip-non-inlinable-function-bodies (overriden by -experimental-allow-non-resilient-access) |
| 73 | +// CHECK-DIAG-3: warning: ignoring -experimental-skip-non-inlinable-function-bodies (overriden by -allow-non-resilient-access) |
74 | 74 | // RUN: llvm-bcanalyzer --dump %t/Utils.swiftmodule | %FileCheck %s --check-prefix=CHECK-ON
|
75 | 75 |
|
76 | 76 | /// Override -experimental-skip-all-function-bodies with warning
|
|
83 | 83 | // RUN: -experimental-allow-non-resilient-access \
|
84 | 84 | // RUN: -emit-module -emit-module-path %t/Utils.swiftmodule \
|
85 | 85 | // RUN: 2>&1 | %FileCheck %s --check-prefix=CHECK-DIAG-4
|
86 |
| -// CHECK-DIAG-4: warning: ignoring -experimental-skip-all-function-bodies (overriden by -experimental-allow-non-resilient-access) |
| 86 | +// CHECK-DIAG-4: warning: ignoring -experimental-skip-all-function-bodies (overriden by -allow-non-resilient-access) |
87 | 87 | // RUN: llvm-bcanalyzer --dump %t/Utils.swiftmodule | %FileCheck %s --check-prefix=CHECK-ON
|
88 | 88 |
|
89 | 89 | /// Override -experimental-lazy-typecheck with warning
|
|
96 | 96 | // RUN: -experimental-allow-non-resilient-access \
|
97 | 97 | // RUN: -emit-module -emit-module-path %t/Utils.swiftmodule \
|
98 | 98 | // RUN: 2>&1 | %FileCheck %s --check-prefix=CHECK-DIAG-5
|
99 |
| -// CHECK-DIAG-5: warning: ignoring -experimental-lazy-typecheck (overriden by -experimental-allow-non-resilient-access) |
| 99 | +// CHECK-DIAG-5: warning: ignoring -experimental-lazy-typecheck (overriden by -allow-non-resilient-access) |
100 | 100 | // RUN: llvm-bcanalyzer --dump %t/Utils.swiftmodule | %FileCheck %s --check-prefix=CHECK-ON
|
101 | 101 |
|
102 | 102 | /// Override -tbd-is-installapi with warning
|
|
109 | 109 | // RUN: -experimental-allow-non-resilient-access \
|
110 | 110 | // RUN: -emit-module -emit-module-path %t/Utils.swiftmodule \
|
111 | 111 | // RUN: 2>&1 | %FileCheck %s --check-prefix=CHECK-DIAG-TBD
|
112 |
| -// CHECK-DIAG-TBD: warning: ignoring -tbd-is-installapi (overriden by -experimental-allow-non-resilient-access) |
| 112 | +// CHECK-DIAG-TBD: warning: ignoring -tbd-is-installapi (overriden by -allow-non-resilient-access) |
113 | 113 | // RUN: llvm-bcanalyzer --dump %t/Utils.swiftmodule | %FileCheck %s --check-prefix=CHECK-ON
|
114 | 114 |
|
115 | 115 | /// Build Utils interface files.
|
|
127 | 127 | // RUN: %target-swift-frontend -compile-module-from-interface \
|
128 | 128 | // RUN: -module-name Utils \
|
129 | 129 | // RUN: -package-name mpkg \
|
130 |
| -// RUN: -experimental-allow-non-resilient-access \ |
| 130 | +// RUN: -allow-non-resilient-access \ |
131 | 131 | // RUN: %t/Utils.package.swiftinterface -o %t/Utils.swiftmodule \
|
132 | 132 | // RUN: 2>&1 | %FileCheck %s --check-prefix=CHECK-DIAG-INTERFACE
|
133 |
| -// CHECK-DIAG-INTERFACE: warning: ignoring -experimental-allow-non-resilient-access (overriden by -compile-module-from-interface or -typecheck-module-from-interface) |
| 133 | +// CHECK-DIAG-INTERFACE: warning: ignoring -allow-non-resilient-access (overriden by -compile-module-from-interface or -typecheck-module-from-interface) |
134 | 134 | // RUN: llvm-bcanalyzer --dump %t/Utils.swiftmodule | %FileCheck %s --check-prefix=CHECK-OFF
|
135 | 135 | // CHECK-OFF-NOT: ALLOW_NON_RESILIENT_ACCESS
|
136 | 136 |
|
|
0 commit comments