Skip to content

Commit e6fc5c2

Browse files
committed
Delete SWIFT_ENABLE_EXPERIMENTAL_NONESCAPABLE_TYPES flag
1 parent 586ac09 commit e6fc5c2

File tree

7 files changed

+0
-38
lines changed

7 files changed

+0
-38
lines changed

CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -703,10 +703,6 @@ option(SWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED
703703
"Enable experimental distributed actors and functions"
704704
FALSE)
705705

706-
option(SWIFT_ENABLE_EXPERIMENTAL_NONESCAPABLE_TYPES
707-
"Enable experimental NonescapableTypes"
708-
FALSE)
709-
710706
option(SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING
711707
"Enable experimental string processing"
712708
FALSE)
@@ -1385,7 +1381,6 @@ if(SWIFT_BUILD_STDLIB OR SWIFT_BUILD_SDK_OVERLAY)
13851381
message(STATUS "Differentiable Programming Support: ${SWIFT_ENABLE_EXPERIMENTAL_DIFFERENTIABLE_PROGRAMMING}")
13861382
message(STATUS "Concurrency Support: ${SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY}")
13871383
message(STATUS "Distributed Support: ${SWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED}")
1388-
message(STATUS "NonEscapableTypes Support: ${SWIFT_ENABLE_EXPERIMENTAL_NONESCAPABLE_TYPES}")
13891384
message(STATUS "String Processing Support: ${SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING}")
13901385
message(STATUS "Backtracing Support: ${SWIFT_ENABLE_BACKTRACING}")
13911386
message(STATUS "Unicode Support: ${SWIFT_STDLIB_ENABLE_UNICODE_DATA}")

test/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ normalize_boolean_spelling(SWIFT_ENABLE_SOURCEKIT_TESTS)
200200
normalize_boolean_spelling(SWIFT_ENABLE_EXPERIMENTAL_DIFFERENTIABLE_PROGRAMMING)
201201
normalize_boolean_spelling(SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY)
202202
normalize_boolean_spelling(SWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED)
203-
normalize_boolean_spelling(SWIFT_ENABLE_EXPERIMENTAL_NONESCAPABLE_TYPES)
204203
normalize_boolean_spelling(SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING)
205204
normalize_boolean_spelling(SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION)
206205
normalize_boolean_spelling(SWIFT_ENABLE_MACCATALYST)
@@ -407,10 +406,6 @@ foreach(SDK ${SWIFT_SDKS})
407406
list(APPEND LIT_ARGS "--param" "distributed")
408407
endif()
409408

410-
if(SWIFT_ENABLE_EXPERIMENTAL_NONESCAPABLE_TYPES)
411-
list(APPEND LIT_ARGS "--param" "nonescapable_types")
412-
endif()
413-
414409
if(SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING)
415410
list(APPEND LIT_ARGS "--param" "string_processing")
416411
endif()

test/Sema/explicit_lifetime_dependence_specifiers2.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// RUN: %target-typecheck-verify-swift -disable-availability-checking -enable-experimental-feature NonescapableTypes
22
// REQUIRES: asserts
3-
// REQUIRES: nonescapable_types
43

54
struct AnotherBufferView : ~Escapable, BitwiseCopyable {
65
let ptr: UnsafeRawBufferPointer

test/lit.site.cfg.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,6 @@ if "@SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY@" == "TRUE":
145145
config.available_features.add('concurrency')
146146
if "@SWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED@" == "TRUE":
147147
config.available_features.add('distributed')
148-
if "@SWIFT_ENABLE_EXPERIMENTAL_NONESCAPABLE_TYPES@" == "TRUE":
149-
config.available_features.add('nonescapable_types')
150148
if "@SWIFT_STDLIB_STATIC_PRINT@" == "TRUE":
151149
config.available_features.add('stdlib_static_print')
152150
if "@SWIFT_STDLIB_ENABLE_UNICODE_DATA" == "TRUE":

utils/swift_build_support/swift_build_support/products/swift.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ def __init__(self, args, toolchain, source_dir, build_dir):
6060
# Add experimental distributed flag.
6161
self.cmake_options.extend(self._enable_experimental_distributed)
6262

63-
# Add experimental NonescapableTypes flag.
64-
self.cmake_options.extend(self._enable_experimental_nonescapable_types)
65-
6663
# Add backtracing flag.
6764
self.cmake_options.extend(self._enable_backtracing)
6865

@@ -208,11 +205,6 @@ def _enable_experimental_distributed(self):
208205
return [('SWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED:BOOL',
209206
self.args.enable_experimental_distributed)]
210207

211-
@property
212-
def _enable_experimental_nonescapable_types(self):
213-
return [('SWIFT_ENABLE_EXPERIMENTAL_NONESCAPABLE_TYPES:BOOL',
214-
self.args.enable_experimental_nonescapable_types)]
215-
216208
@property
217209
def _enable_backtracing(self):
218210
return [('SWIFT_ENABLE_BACKTRACING:BOOL',

utils/swift_build_support/tests/products/test_swift.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ def test_by_default_no_cmake_options(self):
108108
'-DSWIFT_ENABLE_EXPERIMENTAL_CXX_INTEROP:BOOL=FALSE',
109109
'-DSWIFT_ENABLE_CXX_INTEROP_SWIFT_BRIDGING_HEADER:BOOL=FALSE',
110110
'-DSWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED:BOOL=FALSE',
111-
'-DSWIFT_ENABLE_EXPERIMENTAL_NONESCAPABLE_TYPES:BOOL=FALSE',
112111
'-DSWIFT_ENABLE_EXPERIMENTAL_OBSERVATION:BOOL=FALSE',
113112
'-DSWIFT_ENABLE_EXPERIMENTAL_PARSER_VALIDATION:BOOL=FALSE',
114113
'-DSWIFT_ENABLE_BACKTRACING:BOOL=FALSE',
@@ -143,7 +142,6 @@ def test_swift_runtime_tsan(self):
143142
'-DSWIFT_ENABLE_EXPERIMENTAL_CXX_INTEROP:BOOL=FALSE',
144143
'-DSWIFT_ENABLE_CXX_INTEROP_SWIFT_BRIDGING_HEADER:BOOL=FALSE',
145144
'-DSWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED:BOOL=FALSE',
146-
'-DSWIFT_ENABLE_EXPERIMENTAL_NONESCAPABLE_TYPES:BOOL=FALSE',
147145
'-DSWIFT_ENABLE_EXPERIMENTAL_OBSERVATION:BOOL=FALSE',
148146
'-DSWIFT_ENABLE_EXPERIMENTAL_PARSER_VALIDATION:BOOL=FALSE',
149147
'-DSWIFT_ENABLE_BACKTRACING:BOOL=FALSE',
@@ -421,19 +419,6 @@ def test_experimental_distributed_flags(self):
421419
[x for x in swift.cmake_options
422420
if 'DSWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED' in x])
423421

424-
def test_experimental_nonescapable_types_flags(self):
425-
self.args.enable_experimental_nonescapable_types = True
426-
swift = Swift(
427-
args=self.args,
428-
toolchain=self.toolchain,
429-
source_dir='/path/to/src',
430-
build_dir='/path/to/build')
431-
self.assertEqual(
432-
['-DSWIFT_ENABLE_EXPERIMENTAL_NONESCAPABLE_TYPES:BOOL='
433-
'TRUE'],
434-
[x for x in swift.cmake_options
435-
if 'DSWIFT_ENABLE_EXPERIMENTAL_NONESCAPABLE_TYPES' in x])
436-
437422
def test_experimental_observation_flags(self):
438423
self.args.enable_experimental_observation = True
439424
swift = Swift(

validation-test/lit.site.cfg.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,6 @@ if "@SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY@" == "TRUE":
130130
config.available_features.add('concurrency')
131131
if "@SWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED@" == "TRUE":
132132
config.available_features.add('distributed')
133-
if "@SWIFT_ENABLE_EXPERIMENTAL_NONESCAPABLE_TYPES@" == "TRUE":
134-
config.available_features.add('nonescapable_types')
135133
if "@SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING@" == "TRUE":
136134
config.available_features.add('string_processing')
137135
if "@SWIFT_STDLIB_ENABLE_DEBUG_PRECONDITIONS_IN_RELEASE@" == "TRUE":

0 commit comments

Comments
 (0)