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
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -319,6 +319,7 @@ extension Option {
319
319
publicstaticletenableBareSlashRegex:Option=Option("-enable-bare-slash-regex",.flag, attributes:[.frontend], helpText:"Enable the use of forward slash regular-expression literal syntax")
320
320
publicstaticletenableBatchMode:Option=Option("-enable-batch-mode",.flag, attributes:[.helpHidden,.frontend,.noInteractive], helpText:"Enable combining frontend jobs into batches")
321
321
publicstaticletenableBridgingPch:Option=Option("-enable-bridging-pch",.flag, attributes:[.helpHidden], helpText:"Enable automatic generation of bridging PCH files")
322
+
publicstaticletenableBuiltinModule:Option=Option("-enable-builtin-module",.flag, attributes:[.frontend,.moduleInterface], helpText:"Enables the explicit import of the Builtin module")
publicstaticletenableConformanceAvailabilityErrors:Option=Option("-enable-conformance-availability-errors",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Diagnose conformance availability violations as errors")
324
325
publicstaticletcopyPropagationStateEQ:Option=Option("-enable-copy-propagation=",.joined, attributes:[.frontend,.noDriver], metaVar:"true|requested-passes-only|false", helpText:"Whether to enable copy propagation")
@@ -374,6 +375,8 @@ extension Option {
374
375
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")
375
376
publicstaticletenablePrivateImports:Option=Option("-enable-private-imports",.flag, attributes:[.helpHidden,.frontend,.noInteractive], helpText:"Allows this module's internal and private API to be accessed")
publicstaticletenableRemoveDeprecatedCheck:Option=Option("-enable-remove-deprecated-check",.flag, attributes:[.noDriver], helpText:"Diagnosing removal of deprecated symbols")
379
+
publicstaticletenableRemoveDeprecatedCheck_:Option=Option("--enable-remove-deprecated-check",.flag, alias:Option.enableRemoveDeprecatedCheck, attributes:[.noDriver], helpText:"Diagnosing removal of deprecated symbols")
377
380
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")
378
381
publicstaticletenableResilience:Option=Option("-enable-resilience",.flag, attributes:[.helpHidden,.frontend,.noDriver,.moduleInterface], helpText:"Deprecated, use -enable-library-evolution instead")
379
382
publicstaticletenableRoundTripDebugTypes:Option=Option("-enable-round-trip-debug-types",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enables verification of debug info mangling")
@@ -487,9 +490,10 @@ extension Option {
487
490
publicstaticletlibc:Option=Option("-libc",.separate, helpText:"libc runtime library to use")
488
491
publicstaticletlibraryLevel:Option=Option("-library-level",.separate, attributes:[.helpHidden,.frontend,.moduleInterface], metaVar:"<level>", helpText:"Library distribution level 'api', 'spi' or 'other' (the default)")
489
492
publicstaticletlineRange:Option=Option("-line-range",.separate, attributes:[.noInteractive,.noBatch,.indent], metaVar:"<n:n>", helpText:"<start line>:<end line>. Formats a range of lines (1-based). Can only be used with one input file.", group:.codeFormatting)
publicstaticletreuseDependencyScanCache:Option=Option("-load-dependency-scan-cache",.flag, attributes:[.frontend,.noDriver], helpText:"After performing a dependency scan, serialize the scanner's internal state.")
496
+
publicstaticletloadPluginExecutable:Option=Option("-load-plugin-executable",.separate, attributes:[.frontend,.doesNotAffectIncrementalBuild,.argumentIsPath], metaVar:"<path>#<module-names>", helpText:"Path to an executable compiler plugins and providing module names such as macros")
493
497
publicstaticletloadPluginLibrary:Option=Option("-load-plugin-library",.separate, attributes:[.frontend,.doesNotAffectIncrementalBuild,.argumentIsPath], metaVar:"<path>", helpText:"Path to a dynamic library containing compiler plugins such as macros")
494
498
publicstaticletlocale:Option=Option("-locale",.separate, attributes:[.frontend,.doesNotAffectIncrementalBuild], metaVar:"<locale-code>", helpText:"Choose a language for diagnostic messages")
495
499
publicstaticletlocalizationPath:Option=Option("-localization-path",.separate, attributes:[.frontend,.doesNotAffectIncrementalBuild,.argumentIsPath], metaVar:"<path>", helpText:"Path to localized diagnostic messages directory")
@@ -522,7 +526,7 @@ extension Option {
522
526
publicstaticletnoColorDiagnostics:Option=Option("-no-color-diagnostics",.flag, attributes:[.frontend,.doesNotAffectIncrementalBuild], helpText:"Do not print diagnostics in color")
523
527
publicstaticletnoEmitModuleSeparatelyWMO:Option=Option("-no-emit-module-separately-wmo",.flag, attributes:[.helpHidden], helpText:"Force emitting the swiftmodule in the same job in wmo builds")
524
528
publicstaticletnoEmitModuleSeparately:Option=Option("-no-emit-module-separately",.flag, attributes:[.helpHidden], helpText:"Force using merge-module as the incremental build mode")
525
-
publicstaticletnoLinkObjcRuntime:Option=Option("-no-link-objc-runtime",.flag, attributes:[.helpHidden,.doesNotAffectIncrementalBuild], helpText:"Don't link in additions to the Objective-C runtime")
publicstaticletnoSerializeDebuggingOptions:Option=Option("-no-serialize-debugging-options",.flag, attributes:[.frontend,.noDriver], helpText:"Never serialize options for debugging (default: only for apps)")
527
531
publicstaticletnoStaticExecutable:Option=Option("-no-static-executable",.flag, attributes:[.helpHidden], helpText:"Don't statically link the executable")
528
532
publicstaticletnoStaticStdlib:Option=Option("-no-static-stdlib",.flag, attributes:[.helpHidden,.doesNotAffectIncrementalBuild], helpText:"Don't statically link the Swift standard library")
0 commit comments