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
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ extension Option {
25
25
publicstaticletenableAppExtension:Option=Option("-application-extension",.flag, attributes:[.frontend,.noInteractive], helpText:"Restrict code to those available for App Extensions")
26
26
publicstaticletAssertConfig:Option=Option("-assert-config",.separate, attributes:[.frontend,.moduleInterface], helpText:"Specify the assert_configuration replacement. Possible values are Debug, Release, Unchecked, DisableReplacement.")
27
27
publicstaticletAssumeSingleThreaded:Option=Option("-assume-single-threaded",.flag, attributes:[.helpHidden,.frontend], helpText:"Assume that code will be executed in a single-threaded environment")
28
+
publicstaticletasyncMain:Option=Option("-async-main",.flag, attributes:[.frontend], helpText:"Resolve main function as if it were called from an asynchronous context")
28
29
publicstaticletautolinkForceLoad:Option=Option("-autolink-force-load",.flag, attributes:[.helpHidden,.frontend,.moduleInterface], helpText:"Force ld to link against this module even if no symbols are used")
publicstaticletavoidEmitModuleSourceInfo:Option=Option("-avoid-emit-module-source-info",.flag, attributes:[.noInteractive,.doesNotAffectIncrementalBuild], helpText:"don't emit Swift source info file")
@@ -130,6 +131,7 @@ extension Option {
130
131
publicstaticletdisableGenericMetadataPrespecialization:Option=Option("-disable-generic-metadata-prespecialization",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Do not statically specialize metadata for generic types at types that are known to be used in source.")
131
132
publicstaticletdisableImplicitConcurrencyModuleImport:Option=Option("-disable-implicit-concurrency-module-import",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable the implicit import of the _Concurrency module.")
132
133
publicstaticletdisableImplicitDistributedModuleImport:Option=Option("-disable-implicit-distributed-module-import",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable the implicit import of the Distributed module.")
134
+
publicstaticletdisableImplicitStringProcessingModuleImport:Option=Option("-disable-implicit-string-processing-module-import",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable the implicit import of the _StringProcessing module.")
133
135
publicstaticletdisableImplicitSwiftModules:Option=Option("-disable-implicit-swift-modules",.flag, attributes:[.frontend,.noDriver], helpText:"Disable building Swift modules implicitly by the compiler")
134
136
publicstaticletdisableIncrementalImports:Option=Option("-disable-incremental-imports",.flag, attributes:[.frontend], helpText:"Disable cross-module incremental build metadata and driver scheduling for Swift modules")
publicstaticletenableActorDataRaceChecks:Option=Option("-enable-actor-data-race-checks",.flag, attributes:[.frontend,.doesNotAffectIncrementalBuild], helpText:"Emit runtime checks for actor data races")
278
280
publicstaticletenableAnonymousContextMangledNames:Option=Option("-enable-anonymous-context-mangled-names",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable emission of mangled names in anonymous context descriptors")
279
281
publicstaticletenableAstVerifier:Option=Option("-enable-ast-verifier",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Run the AST verifier during compilation. NOTE: This lets the user override the default behavior on whether or not the ASTVerifier is run. The default behavior is to run the verifier when asserts are enabled and not run it when asserts are disabled. NOTE: Can not be used if disable-ast-verifier is used as well")
282
+
publicstaticletenableBareSlashRegex:Option=Option("-enable-bare-slash-regex",.flag, attributes:[.frontend], helpText:"Enable the use of forward slash regular-expression literal syntax")
280
283
publicstaticletenableBatchMode:Option=Option("-enable-batch-mode",.flag, attributes:[.helpHidden,.frontend,.noInteractive], helpText:"Enable combining frontend jobs into batches")
281
284
publicstaticletenableBridgingPch:Option=Option("-enable-bridging-pch",.flag, attributes:[.helpHidden], helpText:"Enable automatic generation of bridging PCH files")
282
285
publicstaticletenableConformanceAvailabilityErrors:Option=Option("-enable-conformance-availability-errors",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Diagnose conformance availability violations as errors")
@@ -327,7 +330,6 @@ extension Option {
327
330
publicstaticletenableOssaModules:Option=Option("-enable-ossa-modules",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Always serialize SIL in ossa form. If this flag is not passed in, when optimizing ownership will be lowered before serializing SIL")
328
331
publicstaticletenableParameterizedProtocolTypes:Option=Option("-enable-parameterized-protocol-types",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable experimental support for primary associated types and parameterized protocols")
329
332
publicstaticletenablePrivateImports:Option=Option("-enable-private-imports",.flag, attributes:[.helpHidden,.frontend,.noInteractive], helpText:"Allows this module's internal and private API to be accessed")
330
-
publicstaticletenableRegexLiterals:Option=Option("-enable-regex-literals",.flag, attributes:[.frontend], helpText:"Enable the use of regular-expression literals")
331
333
publicstaticletenableRequirementMachineOpaqueArchetypes:Option=Option("-enable-requirement-machine-opaque-archetypes",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable more correct opaque archetype support, which is off by default because it might fail to produce a convergent rewrite system")
332
334
publicstaticletenableResilience:Option=Option("-enable-resilience",.flag, attributes:[.helpHidden,.frontend,.noDriver,.moduleInterface], helpText:"Deprecated, use -enable-library-evolution instead")
333
335
publicstaticletenableSilOpaqueValues:Option=Option("-enable-sil-opaque-values",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable SIL Opaque Values")
0 commit comments