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
+7-1
Original file line number
Diff line number
Diff line change
@@ -221,6 +221,7 @@ extension Option {
221
221
publicstaticletdisableRequirementMachineLoopNormalization:Option=Option("-disable-requirement-machine-loop-normalization",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable stronger minimization algorithm, for debugging only")
222
222
publicstaticletdisableRequirementMachineReuse:Option=Option("-disable-requirement-machine-reuse",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable re-use of requirement machines for minimization, for debugging only")
223
223
publicstaticletdisableRoundTripDebugTypes:Option=Option("-disable-round-trip-debug-types",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disables verification of debug info mangling")
224
+
publicstaticletdisableSandbox:Option=Option("-disable-sandbox",.flag, attributes:[.frontend,.doesNotAffectIncrementalBuild], helpText:"Disable using the sandbox when executing subprocesses")
224
225
publicstaticletdisableSilOwnershipVerifier:Option=Option("-disable-sil-ownership-verifier",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Do not verify ownership invariants during SIL Verification ")
225
226
publicstaticletdisableSilPartialApply:Option=Option("-disable-sil-partial-apply",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable use of partial_apply in SIL generation")
226
227
publicstaticletdisableSilPerfOptzns:Option=Option("-disable-sil-perf-optzns",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Don't run SIL performance optimization passes")
@@ -456,13 +457,14 @@ extension Option {
456
457
publicstaticletexperimentalHermeticSealAtLink:Option=Option("-experimental-hermetic-seal-at-link",.flag, attributes:[.helpHidden,.frontend], helpText:"Library code can assume that all clients are visible at linktime, and aggressively strip unused code")
457
458
publicstaticletexperimentalLazyTypecheck:Option=Option("-experimental-lazy-typecheck",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Type-check lazily as needed to produce requested outputs")
458
459
publicstaticletexperimentalOneWayClosureParams:Option=Option("-experimental-one-way-closure-params",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable experimental support for one-way closure parameters")
459
-
publicstaticletexperimentalPackageInterfaceLoad:Option=Option("-experimental-package-interface-load",.flag, attributes:[.helpHidden,.frontend,.moduleInterface], helpText:"Supports loading a module via .package.swiftinterface in the same package")
460
+
publicstaticletexperimentalPackageInterfaceLoad:Option=Option("-experimental-package-interface-load",.flag, attributes:[.helpHidden,.frontend], helpText:"Enables loading a package interface if in the same package specified with package-name")
460
461
publicstaticletExperimentalPerformanceAnnotations:Option=Option("-experimental-performance-annotations",.flag, attributes:[.helpHidden,.frontend], helpText:"Deprecated, has no effect")
publicstaticletplatformCCallingConvention:Option=Option("-experimental-platform-c-calling-convention",.separate, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Which calling convention is used to perform non-swift calls. Defaults to llvm's standard C calling convention.")
463
464
publicstaticletexperimentalPrintFullConvention:Option=Option("-experimental-print-full-convention",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"When emitting a module interface or SIL, emit additional @convention arguments, regardless of whether they were written in the source. Also requires -use-clang-function-types to be enabled.")
464
465
publicstaticletexperimentalSkipAllFunctionBodies:Option=Option("-experimental-skip-all-function-bodies",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Skip type-checking function bodies and all SIL generation")
465
466
publicstaticletexperimentalSkipNonExportableDecls:Option=Option("-experimental-skip-non-exportable-decls",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Skip decls that are not exported to clients")
467
+
publicstaticletexperimentalSkipNonInlinableFunctionBodiesIsLazy:Option=Option("-experimental-skip-non-inlinable-function-bodies-is-lazy",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Infer lazy typechecking for -experimental-skip-non-inlinable-function-bodies")
466
468
publicstaticletexperimentalSkipNonInlinableFunctionBodiesWithoutTypes:Option=Option("-experimental-skip-non-inlinable-function-bodies-without-types",.flag, attributes:[.helpHidden,.frontend], helpText:"Skip work on non-inlinable function bodies that do not declare nested types")
467
469
publicstaticletexperimentalSkipNonInlinableFunctionBodies:Option=Option("-experimental-skip-non-inlinable-function-bodies",.flag, attributes:[.helpHidden,.frontend], helpText:"Skip type-checking and SIL generation for non-inlinable function bodies")
468
470
publicstaticletexperimentalSpiImports:Option=Option("-experimental-spi-imports",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable experimental support for SPI imports")
@@ -630,6 +632,7 @@ extension Option {
630
632
publicstaticletpchOutputDir:Option=Option("-pch-output-dir",.separate, attributes:[.helpHidden,.frontend,.argumentIsPath], helpText:"Directory to persist automatically created precompiled bridging headers")
631
633
publicstaticletplaceholderDependencyModuleMap:Option=Option("-placeholder-dependency-module-map-file",.separate, attributes:[.frontend,.noDriver], metaVar:"<path>", helpText:"Specify a JSON file containing information of external Swift module dependencies")
632
634
publicstaticletplaygroundHighPerformance:Option=Option("-playground-high-performance",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Omit instrumentation that has a high runtime performance impact")
635
+
publicstaticletplaygroundOption:Option=Option("-playground-option",.separate, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Provide an option to the playground transform (if enabled)")
633
636
publicstaticletplayground:Option=Option("-playground",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Apply the playground semantics and transformation")
634
637
publicstaticletpluginPath:Option=Option("-plugin-path",.separate, attributes:[.frontend,.argumentIsPath], helpText:"Add directory to the plugin search path", group:.pluginSearch)
0 commit comments