Skip to content

Commit 31389f7

Browse files
authored
Merge pull request #64371 from Azoy/bye-bye-reflection
Remove Reflection
2 parents a8a44eb + 8505415 commit 31389f7

File tree

85 files changed

+0
-8581
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+0
-8581
lines changed

CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -614,10 +614,6 @@ option(SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING
614614
"Enable experimental string processing"
615615
FALSE)
616616

617-
option(SWIFT_ENABLE_EXPERIMENTAL_REFLECTION
618-
"Enable build of the Swift reflection module"
619-
FALSE)
620-
621617
option(SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION
622618
"Enable build of the Swift observation module"
623619
FALSE)
@@ -1184,7 +1180,6 @@ if(SWIFT_BUILD_STDLIB OR SWIFT_BUILD_SDK_OVERLAY)
11841180
message(STATUS "String Processing Support: ${SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING}")
11851181
message(STATUS "Backtracing Support: ${SWIFT_ENABLE_BACKTRACING}")
11861182
message(STATUS "Unicode Support: ${SWIFT_STDLIB_ENABLE_UNICODE_DATA}")
1187-
message(STATUS "Reflection Support: ${SWIFT_ENABLE_EXPERIMENTAL_REFLECTION}")
11881183
message(STATUS "Observation Support: ${SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION}")
11891184
message(STATUS "")
11901185
else()

stdlib/cmake/modules/SwiftSource.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,6 @@ function(_add_target_variant_swift_compile_flags
295295
list(APPEND result "-D" "SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING")
296296
endif()
297297

298-
if(SWIFT_ENABLE_EXPERIMENTAL_REFLECTION)
299-
list(APPEND result "-D" "SWIFT_ENABLE_EXPERIMENTAL_REFLECTION")
300-
endif()
301-
302298
if(SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION)
303299
list(APPEND result "-D" "SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION")
304300
endif()

stdlib/public/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,6 @@ if(SWIFT_BUILD_STDLIB)
151151
add_subdirectory(RegexBuilder)
152152
endif()
153153

154-
if(SWIFT_ENABLE_EXPERIMENTAL_REFLECTION)
155-
add_subdirectory(Reflection)
156-
endif()
157-
158154
if(SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION)
159155
add_subdirectory(Observation)
160156
endif()

stdlib/public/Reflection/CMakeLists.txt

Lines changed: 0 additions & 14 deletions
This file was deleted.

stdlib/public/Reflection/Sources/Reflection/CMakeLists.txt

Lines changed: 0 additions & 34 deletions
This file was deleted.

stdlib/public/Reflection/Sources/Reflection/Case.swift

Lines changed: 0 additions & 154 deletions
This file was deleted.

0 commit comments

Comments
 (0)