Skip to content

Commit ebac64d

Browse files
committed
Breaking-change: fully remove split derived files feature
1 parent fd30dd1 commit ebac64d

7 files changed

Lines changed: 10 additions & 126 deletions

File tree

swift/internal/action_names.bzl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ SWIFT_ACTION_COMPILE_MODULE = "SwiftCompileModule"
3434
# Compiles a `.swiftinterface` file into a `.swiftmodule` file.
3535
SWIFT_ACTION_COMPILE_MODULE_INTERFACE = "SwiftCompileModuleInterface"
3636

37-
# Produces files that are usually fallout of the compilation such as
38-
# .swiftmodule, -Swift.h and more.
39-
SWIFT_ACTION_DERIVE_FILES = "SwiftDeriveFiles"
40-
4137
# Produces an AST file for each swift source file in a module.
4238
SWIFT_ACTION_DUMP_AST = "SwiftDumpAST"
4339

@@ -65,7 +61,6 @@ def all_action_names():
6561
SWIFT_ACTION_COMPILE_CODEGEN,
6662
SWIFT_ACTION_COMPILE_MODULE,
6763
SWIFT_ACTION_COMPILE_MODULE_INTERFACE,
68-
SWIFT_ACTION_DERIVE_FILES,
6964
SWIFT_ACTION_DUMP_AST,
7065
SWIFT_ACTION_MODULEWRAP,
7166
SWIFT_ACTION_PRECOMPILE_C_MODULE,
@@ -77,7 +72,6 @@ def all_compile_action_names():
7772
"""Returns all actions that compile source files."""
7873
return [
7974
SWIFT_ACTION_COMPILE,
80-
SWIFT_ACTION_DERIVE_FILES,
8175
SWIFT_ACTION_COMPILE_CODEGEN,
8276
SWIFT_ACTION_COMPILE_MODULE,
8377
]

swift/internal/compiling.bzl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ load(
3131
"SWIFT_ACTION_COMPILE_CODEGEN",
3232
"SWIFT_ACTION_COMPILE_MODULE",
3333
"SWIFT_ACTION_COMPILE_MODULE_INTERFACE",
34-
"SWIFT_ACTION_DERIVE_FILES",
3534
"SWIFT_ACTION_DUMP_AST",
3635
"SWIFT_ACTION_PRECOMPILE_C_MODULE",
3736
)

swift/internal/feature_names.bzl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -336,10 +336,6 @@ SWIFT_FEATURE_GENERATE_FROM_RAW_PROTO_FILES = "swift.generate_from_raw_proto_fil
336336
# generating a Swift file from a proto file.
337337
SWIFT_FEATURE_GENERATE_PATH_TO_UNDERSCORES_FROM_PROTO_FILES = "swift.generate_path_to_underscores_from_proto_files"
338338

339-
# If enabled the skip function bodies frontend flag is passed when using derived
340-
# files generation. This requires Swift 5.2
341-
SWIFT_FEATURE_ENABLE_SKIP_FUNCTION_BODIES = "swift.skip_function_bodies_for_derived_files"
342-
343339
# If enabled remap the absolute path to Xcode in debug info. When used with
344340
# swift.coverage_prefix_map also remap the path in coverage data.
345341
SWIFT_FEATURE_REMAP_XCODE_PATH = "swift.remap_xcode_path"

swift/internal/features.bzl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ load(
2727
"SWIFT_FEATURE_EMIT_SWIFTDOC",
2828
"SWIFT_FEATURE_ENABLE_BARE_SLASH_REGEX",
2929
"SWIFT_FEATURE_ENABLE_BATCH_MODE",
30-
"SWIFT_FEATURE_ENABLE_SKIP_FUNCTION_BODIES",
3130
"SWIFT_FEATURE_ENABLE_TESTING",
3231
"SWIFT_FEATURE_ENABLE_V6",
3332
"SWIFT_FEATURE_FILE_PREFIX_MAP",
@@ -279,7 +278,6 @@ def default_features_for_toolchain(target_triple):
279278
SWIFT_FEATURE_EMIT_SWIFTDOC,
280279
SWIFT_FEATURE_ENABLE_BARE_SLASH_REGEX,
281280
SWIFT_FEATURE_ENABLE_BATCH_MODE,
282-
SWIFT_FEATURE_ENABLE_SKIP_FUNCTION_BODIES,
283281
SWIFT_FEATURE_FILE_PREFIX_MAP,
284282
SWIFT_FEATURE_INTERNALIZE_AT_LINK,
285283
SWIFT_FEATURE_OPT_USES_WMO,

0 commit comments

Comments
 (0)