You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/SwiftOptions/Options.swift
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -357,6 +357,7 @@ extension Option {
357
357
publicstaticletenableExplicitExistentialTypes:Option=Option("-enable-explicit-existential-types",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable experimental support for explicit existential types")
358
358
publicstaticletenableImplicitBacktracingModuleImport:Option=Option("-enable-implicit-backtracing-module-import",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable the implicit import of the _Backtracing module.")
359
359
publicstaticletenableImplicitDynamic:Option=Option("-enable-implicit-dynamic",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Add 'dynamic' to all declarations")
360
+
publicstaticletenableImportObjcForwardDeclarations:Option=Option("-enable-import-objc-forward-declarations",.flag, attributes:[.helpHidden,.frontend,.noDriver,.moduleInterface], helpText:"Attempt to import Objective-C forward declarations")
360
361
publicstaticletenableImportPtrauthFieldFunctionPointers:Option=Option("-enable-import-ptrauth-field-function-pointers",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable import of custom ptrauth qualified field function pointers")
361
362
publicstaticletenableIncrementalImports:Option=Option("-enable-incremental-imports",.flag, attributes:[.frontend], helpText:"Enable cross-module incremental build metadata and driver scheduling for Swift modules")
362
363
publicstaticletenableInferPublicConcurrentValue:Option=Option("-enable-infer-public-sendable",.flag, attributes:[.frontend,.noDriver], helpText:"Enable inference of Sendable conformances for public structs and enums")
@@ -738,6 +739,8 @@ extension Option {
738
739
publicstaticletversion_:Option=Option("--version",.flag, alias:Option.version, attributes:[.frontend], helpText:"Print version information and exit")
publicstaticletv:Option=Option("-v",.flag, attributes:[.doesNotAffectIncrementalBuild], helpText:"Show commands to run and use verbose output")
742
745
publicstaticletwarnConcurrency:Option=Option("-warn-concurrency",.flag, attributes:[.frontend,.doesNotAffectIncrementalBuild], helpText:"Warn about code that is unsafe according to the Swift Concurrency model and will become ill-formed in a future language version")
743
746
publicstaticletwarnImplicitOverrides:Option=Option("-warn-implicit-overrides",.flag, attributes:[.frontend,.doesNotAffectIncrementalBuild], helpText:"Warn about implicit overrides of protocol members")
@@ -754,6 +757,8 @@ extension Option {
754
757
publicstaticletwarningsAsErrors:Option=Option("-warnings-as-errors",.flag, attributes:[.frontend], helpText:"Treat warnings as errors")
755
758
publicstaticletweakLinkAtTarget:Option=Option("-weak-link-at-target",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Weakly link symbols for declarations that were introduced at the deployment target. Symbols introduced before the deployment target are still strongly linked.")
756
759
publicstaticletwholeModuleOptimization:Option=Option("-whole-module-optimization",.flag, attributes:[.frontend,.noInteractive], helpText:"Optimize input files together instead of individually")
publicstaticletworkingDirectory:Option=Option("-working-directory",.separate, metaVar:"<path>", helpText:"Resolve file paths relative to the specified directory")
0 commit comments