Skip to content

Remove Reflection #64371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 15, 2023
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
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -614,10 +614,6 @@ option(SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING
"Enable experimental string processing"
FALSE)

option(SWIFT_ENABLE_EXPERIMENTAL_REFLECTION
"Enable build of the Swift reflection module"
FALSE)

option(SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION
"Enable build of the Swift observation module"
FALSE)
Expand Down Expand Up @@ -1180,7 +1176,6 @@ if(SWIFT_BUILD_STDLIB OR SWIFT_BUILD_SDK_OVERLAY)
message(STATUS "String Processing Support: ${SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING}")
message(STATUS "Backtracing Support: ${SWIFT_ENABLE_BACKTRACING}")
message(STATUS "Unicode Support: ${SWIFT_STDLIB_ENABLE_UNICODE_DATA}")
message(STATUS "Reflection Support: ${SWIFT_ENABLE_EXPERIMENTAL_REFLECTION}")
message(STATUS "Observation Support: ${SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION}")
message(STATUS "")
else()
Expand Down
4 changes: 0 additions & 4 deletions stdlib/cmake/modules/SwiftSource.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -295,10 +295,6 @@ function(_add_target_variant_swift_compile_flags
list(APPEND result "-D" "SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING")
endif()

if(SWIFT_ENABLE_EXPERIMENTAL_REFLECTION)
list(APPEND result "-D" "SWIFT_ENABLE_EXPERIMENTAL_REFLECTION")
endif()

if(SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION)
list(APPEND result "-D" "SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION")
endif()
Expand Down
4 changes: 0 additions & 4 deletions stdlib/public/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,6 @@ if(SWIFT_BUILD_STDLIB)
add_subdirectory(RegexBuilder)
endif()

if(SWIFT_ENABLE_EXPERIMENTAL_REFLECTION)
add_subdirectory(Reflection)
endif()

if(SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION)
add_subdirectory(Observation)
endif()
Expand Down
14 changes: 0 additions & 14 deletions stdlib/public/Reflection/CMakeLists.txt

This file was deleted.

34 changes: 0 additions & 34 deletions stdlib/public/Reflection/Sources/Reflection/CMakeLists.txt

This file was deleted.

154 changes: 0 additions & 154 deletions stdlib/public/Reflection/Sources/Reflection/Case.swift

This file was deleted.

Loading