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
Options.swift needs to be generated from the one in the Swift repo,
not edited by hand.
Based on the Options.td from swiftlang/swift#75435.
rdar://116798309
Copy file name to clipboardExpand all lines: Sources/SwiftOptions/Options.swift
+5-5
Original file line number
Diff line number
Diff line change
@@ -60,8 +60,8 @@ extension Option {
60
60
publicstaticletbridgingHeaderDirectoryForPrint:Option=Option("-bridging-header-directory-for-print",.separate, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"<path>", helpText:"Directory for bridging header to be printed in compatibility header")
61
61
publicstaticletbridgingHeaderPchKey:Option=Option("-bridging-header-pch-key",.separate, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Cache Key for bridging header pch")
62
62
publicstaticletbsdk:Option=Option("-bsdk",.joinedOrSeparate, attributes:[.noDriver,.argumentIsPath], helpText:"path to the baseline SDK to import frameworks")
publicstaticletbuildId:Option=Option("-build-id",.joinedOrSeparate,attributes:[],metaVar:"<build-id>", helpText:"Specify the build ID argument passed to the linker")
publicstaticletbypassBatchModeChecks:Option=Option("-bypass-batch-mode-checks",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Bypass checks for batch-mode errors.")
67
67
publicstaticletbypassResilience:Option=Option("-bypass-resilience-checks",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Ignore all checks for module resilience.")
publicstaticletdebugInfoFormat:Option=Option("-debug-info-format=",.joined, attributes:[.frontend], helpText:"Specify the debug info format type to either 'dwarf' or 'codeview'")
122
122
publicstaticletdebugInfoStoreInvocation:Option=Option("-debug-info-store-invocation",.flag, attributes:[.frontend], helpText:"Emit the compiler invocation in the debug info.")
123
-
publicstaticletdebugInverseRequirements:Option=Option("-debug-inverse-requirements",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Print real requirements in -debug_generic_signatures output")
123
+
publicstaticletdebugInverseRequirements:Option=Option("-debug-inverse-requirements",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Print real requirements in -debug-generic-signatures output")
124
124
publicstaticletdebugMapping:Option=Option("-debug-mapping",.flag, attributes:[.noDriver], helpText:"Dumping information for debug purposes")
125
125
publicstaticletdebugMapping_:Option=Option("--debug-mapping",.flag, alias:Option.debugMapping, attributes:[.noDriver], helpText:"Dumping information for debug purposes")
126
126
publicstaticletdebugPrefixMap:Option=Option("-debug-prefix-map",.separate, attributes:[.frontend], metaVar:"<prefix=replacement>", helpText:"Remap source paths in debug info")
@@ -802,7 +802,7 @@ extension Option {
802
802
publicstaticlettargetSdkName:Option=Option("-target-sdk-name",.separate, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Canonical name of the target SDK used for compilation")
803
803
publicstaticlettargetSdkVersion:Option=Option("-target-sdk-version",.separate, attributes:[.helpHidden,.frontend,.noDriver], helpText:"The version of target SDK used for compilation")
804
804
publicstaticlettargetVariantSdkVersion:Option=Option("-target-variant-sdk-version",.separate, attributes:[.helpHidden,.frontend,.noDriver], helpText:"The version of target variant SDK used for compilation")
805
-
publicstaticlettargetVariant:Option=Option("-target-variant",.separate, attributes:[.frontend], helpText:"Generate 'zippered' code for macCatalyst that can run on the specified variant target triple in addition to the main -target triple")
805
+
publicstaticlettargetVariant:Option=Option("-target-variant",.separate, attributes:[.frontend,.moduleInterface], helpText:"Generate 'zippered' code for macCatalyst that can run on the specified variant target triple in addition to the main -target triple")
publicstaticlettarget:Option=Option("-target",.separate, attributes:[.frontend,.moduleWrap,.moduleInterface], metaVar:"<triple>", helpText:"Generate code for the given target <triple>, such as x86_64-apple-macos10.9")
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")
862
862
publicstaticletwarnImplicitOverrides:Option=Option("-warn-implicit-overrides",.flag, attributes:[.frontend,.doesNotAffectIncrementalBuild], helpText:"Warn about implicit overrides of protocol members")
publicstaticletwarnLongExpressionTypeChecking:Option=Option("-warn-long-expression-type-checking",.separate, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"<n>", helpText:"Warns when type-checking a function takes longer than <n> ms")
864
+
publicstaticletwarnLongExpressionTypeChecking:Option=Option("-warn-long-expression-type-checking",.separate, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"<n>", helpText:"Warns when type-checking an expression takes longer than <n> ms")
publicstaticletwarnLongFunctionBodies:Option=Option("-warn-long-function-bodies",.separate, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"<n>", helpText:"Warns when type-checking a function takes longer than <n> ms")
867
867
publicstaticletwarnOnEditorPlaceholder:Option=Option("-warn-on-editor-placeholder",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Downgrade the editor placeholder error to a warning")
0 commit comments