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
publicstaticletaccessNotesPath:Option=Option("-access-notes-path",.separate, attributes:[.frontend,.argumentIsPath], helpText:"Specify YAML file to override attributes on Swift declarations in this module")
29
29
publicstaticletaliasModuleNamesInModuleInterface:Option=Option("-alias-module-names-in-module-interface",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"When emitting a module interface, disambiguate modules using distinct alias names")
30
+
publicstaticletallowUnstableCacheKeyForTesting:Option=Option("-allow-unstable-cache-key-for-testing",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Allow compilation caching with unstable inputs for testing purpose")
30
31
publicstaticletallowableClient:Option=Option("-allowable-client",.separate, attributes:[.frontend], metaVar:"<vers>", helpText:"Module names that are allowed to import this module")
31
32
publicstaticletalwaysCompileOutputFiles:Option=Option("-always-compile-output-files",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Always compile output files even it might not change the results")
32
33
publicstaticletanalyzeRequirementMachine:Option=Option("-analyze-requirement-machine",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Print out requirement machine statistics at the end of the compilation job")
publicstaticletbypassBatchModeChecks:Option=Option("-bypass-batch-mode-checks",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Bypass checks for batch-mode errors.")
61
62
publicstaticletcandidateModuleFile:Option=Option("-candidate-module-file",.separate, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"<path>", helpText:"Specify Swift module may be ready to use for an interface")
63
+
publicstaticletcasFs:Option=Option("-cas-fs",.separate, attributes:[.frontend,.noDriver], metaVar:"<cas-id>", helpText:"Root CASID for CAS FileSystem")
64
+
publicstaticletcasPath:Option=Option("-cas-path",.separate, attributes:[.frontend], metaVar:"<path>", helpText:"Path to CAS")
62
65
publicstaticletcheckApiAvailabilityOnly:Option=Option("-check-api-availability-only",.flag, attributes:[.helpHidden,.frontend,.noInteractive], helpText:"Deprecated, has no effect")
63
66
publicstaticletcheckOnoneCompleteness:Option=Option("-check-onone-completeness",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Print errors if the compile OnoneSupport module is missing symbols")
64
67
publicstaticletclangBuildSessionFile:Option=Option("-clang-build-session-file",.separate, attributes:[.frontend,.argumentIsPath], helpText:"Use the last modification time of <file> as the underlying Clang build session timestamp")
publicstaticletcrosscheckUnqualifiedLookup:Option=Option("-crosscheck-unqualified-lookup",.flag, attributes:[.frontend,.noDriver], helpText:"Compare legacy DeclContext- to ASTScope-based unqualified name lookup (for debugging)")
83
86
publicstaticletcxxInteropGettersSettersAsProperties:Option=Option("-cxx-interop-getters-setters-as-properties",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Import getters and setters as computed properties in Swift")
84
-
publicstaticletcxxInteroperabilityMode:Option=Option("-cxx-interoperability-mode=",.joined, attributes:[.frontend,.moduleInterface], helpText:"Enables C++ interoperability; requires compatbility version to be specified.")
87
+
publicstaticletcxxInteroperabilityMode:Option=Option("-cxx-interoperability-mode=",.joined, attributes:[.frontend,.moduleInterface], helpText:"Enables C++ interoperability; pass 'default' to enable or 'off' to disable")
publicstaticletdebugAssertAfterParse:Option=Option("-debug-assert-after-parse",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Force an assertion failure after parsing", group:.debugCrash)
87
90
publicstaticletdebugAssertImmediately:Option=Option("-debug-assert-immediately",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Force an assertion failure immediately", group:.debugCrash)
@@ -336,6 +339,7 @@ extension Option {
336
339
publicstaticletenableBatchMode:Option=Option("-enable-batch-mode",.flag, attributes:[.helpHidden,.frontend,.noInteractive], helpText:"Enable combining frontend jobs into batches")
337
340
publicstaticletenableBridgingPch:Option=Option("-enable-bridging-pch",.flag, attributes:[.helpHidden], helpText:"Enable automatic generation of bridging PCH files")
338
341
publicstaticletenableBuiltinModule:Option=Option("-enable-builtin-module",.flag, attributes:[.frontend,.moduleInterface], helpText:"Enables the explicit import of the Builtin module")
342
+
publicstaticletenableCas:Option=Option("-enable-cas",.flag, attributes:[.frontend,.noDriver], helpText:"Enable CAS for swift-frontend")
publicstaticletenableColocateTypeDescriptors:Option=Option("-enable-colocate-type-descriptors",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable colocate type descriptors")
341
345
publicstaticletenableConformanceAvailabilityErrors:Option=Option("-enable-conformance-availability-errors",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Diagnose conformance availability violations as errors")
@@ -424,13 +428,14 @@ extension Option {
424
428
publicstaticletdriverExperimentalExplicitModuleBuild:Option=Option("-experimental-explicit-module-build",.flag, alias:Option.driverExplicitModuleBuild, attributes:[.helpHidden], helpText:"Prebuild module dependencies to make them explicit")
425
429
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")
426
430
publicstaticletexperimentalOneWayClosureParams:Option=Option("-experimental-one-way-closure-params",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable experimental support for one-way closure parameters")
publicstaticletExperimentalPerformanceAnnotations:Option=Option("-experimental-performance-annotations",.flag, attributes:[.helpHidden,.frontend], helpText:"Deprecated, has no effect")
428
432
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.")
429
433
publicstaticletexperimentalSkipAllFunctionBodies:Option=Option("-experimental-skip-all-function-bodies",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Skip type-checking function bodies and all SIL generation")
430
434
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")
431
435
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")
432
436
publicstaticletexperimentalSpiImports:Option=Option("-experimental-spi-imports",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable experimental support for SPI imports")
433
437
publicstaticletexperimentalSpiOnlyImports:Option=Option("-experimental-spi-only-imports",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable use of @_spiOnly imports")
438
+
publicstaticletexplainModuleDependency:Option=Option("-explain-module-dependency",.separate, attributes:[], helpText:"Emit remark/notes describing why compilaiton may depend on a module with a given name.")
434
439
publicstaticletexplicitDependencyGraphFormat:Option=Option("-explicit-dependency-graph-format=",.joined, attributes:[.helpHidden,.doesNotAffectIncrementalBuild], helpText:"Specify the explicit dependency graph output format to either 'json' or 'dot'")
435
440
publicstaticletexplicitInterfaceModuleBuild:Option=Option("-explicit-interface-module-build",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Use the specified command-line to build the module from interface, instead of flags specified in the interface")
436
441
publicstaticletdriverExplicitModuleBuild:Option=Option("-explicit-module-build",.flag, attributes:[.helpHidden], helpText:"Prebuild module dependencies to make them explicit")
0 commit comments