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")
22
22
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")
23
+
publicstaticletallowableClient:Option=Option("-allowable-client",.separate, attributes:[.frontend], metaVar:"<vers>", helpText:"Module names that are allowed to import this module")
23
24
publicstaticletanalyzeRequirementMachine:Option=Option("-analyze-requirement-machine",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Print out requirement machine statistics at the end of the compilation job")
24
25
publicstaticletapiDiffDataDir:Option=Option("-api-diff-data-dir",.separate, attributes:[.frontend,.noInteractive,.doesNotAffectIncrementalBuild,.argumentIsPath], metaVar:"<path>", helpText:"Load platform and version specific API migration data files from <path>. Ignored if -api-diff-data-file is specified.")
25
26
publicstaticletapiDiffDataFile:Option=Option("-api-diff-data-file",.separate, attributes:[.frontend,.noInteractive,.doesNotAffectIncrementalBuild,.argumentIsPath], metaVar:"<path>", helpText:"API migration data is from <path>")
@@ -126,6 +127,7 @@ extension Option {
126
127
publicstaticletdisableClangTarget:Option=Option("-disable-clang-target",.flag, attributes:[], helpText:"Disable a separately specified target triple for Clang instance to use")
127
128
publicstaticletdisableClangimporterSourceImport:Option=Option("-disable-clangimporter-source-import",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable ClangImporter and forward all requests straight the DWARF importer.")
publicstaticletdisableConcreteTypeMetadataMangledNameAccessors:Option=Option("-disable-concrete-type-metadata-mangled-name-accessors",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable concrete type metadata access by mangled name")
130
132
publicstaticletdisableConformanceAvailabilityErrors:Option=Option("-disable-conformance-availability-errors",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Diagnose conformance availability violations as warnings")
131
133
publicstaticletdisableConstraintSolverPerformanceHacks:Option=Option("-disable-constraint-solver-performance-hacks",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable all the hacks in the constraint solver")
@@ -222,6 +224,7 @@ extension Option {
222
224
publicstaticletdumpClangDiagnostics:Option=Option("-dump-clang-diagnostics",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Dump Clang diagnostics to stderr")
publicstaticletdumpMacroExpansions:Option=Option("-dump-macro-expansions",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Dumps the results of each macro expansion")
225
228
publicstaticletdumpMigrationStatesDir:Option=Option("-dump-migration-states-dir",.separate, attributes:[.frontend,.noInteractive,.doesNotAffectIncrementalBuild,.argumentIsPath], metaVar:"<path>", helpText:"Dump the input text, output text, and states for migration to <path>")
226
229
publicstaticletdumpParse:Option=Option("-dump-parse",.flag, attributes:[.frontend,.noInteractive,.doesNotAffectIncrementalBuild], helpText:"Parse input file(s) and dump AST(s)", group:.modes)
227
230
publicstaticletdumpPcm:Option=Option("-dump-pcm",.flag, attributes:[.frontend,.noInteractive,.doesNotAffectIncrementalBuild], helpText:"Dump debugging information about a precompiled Clang module", group:.modes)
publicstaticletemitBc:Option=Option("-emit-bc",.flag, attributes:[.frontend,.noInteractive,.doesNotAffectIncrementalBuild], helpText:"Emit LLVM BC file(s)", group:.modes)
247
+
publicstaticletemitClangHeaderNonmodularIncludes:Option=Option("-emit-clang-header-nonmodular-includes",.flag, attributes:[.frontend,.noInteractive,.supplementaryOutput], helpText:"Augment emitted Objective-C header with textual imports for every included modular import")
244
248
publicstaticletemitClangHeaderPath:Option=Option("-emit-clang-header-path",.separate, alias:Option.emitObjcHeaderPath, attributes:[.frontend,.noDriver,.noInteractive,.argumentIsPath,.supplementaryOutput], helpText:"Emit an Objective-C and C++ header file to <path>")
245
249
publicstaticletemitConstValuesPath:Option=Option("-emit-const-values-path",.separate, attributes:[.frontend,.noInteractive,.argumentIsPath,.supplementaryOutput], metaVar:"<path>", helpText:"Emit the extracted compile-time known values to <path>")
publicstaticletenableActorDataRaceChecks:Option=Option("-enable-actor-data-race-checks",.flag, attributes:[.frontend,.doesNotAffectIncrementalBuild], helpText:"Emit runtime checks for actor data races")
308
312
publicstaticletenableAnonymousContextMangledNames:Option=Option("-enable-anonymous-context-mangled-names",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable emission of mangled names in anonymous context descriptors")
309
313
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")
314
+
publicstaticletenableAutolinkingRuntimeCompatibilityBytecodeLayouts:Option=Option("-enable-autolinking-runtime-compatibility-bytecode-layouts",.flag, attributes:[.frontend], helpText:"Enable autolinking for the bytecode layouts runtime compatibility library")
310
315
publicstaticletenableBareSlashRegex:Option=Option("-enable-bare-slash-regex",.flag, attributes:[.frontend], helpText:"Enable the use of forward slash regular-expression literal syntax")
311
316
publicstaticletenableBatchMode:Option=Option("-enable-batch-mode",.flag, attributes:[.helpHidden,.frontend,.noInteractive], helpText:"Enable combining frontend jobs into batches")
312
317
publicstaticletenableBridgingPch:Option=Option("-enable-bridging-pch",.flag, attributes:[.helpHidden], helpText:"Enable automatic generation of bridging PCH files")
publicstaticletenableConformanceAvailabilityErrors:Option=Option("-enable-conformance-availability-errors",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Diagnose conformance availability violations as errors")
314
320
publicstaticletcopyPropagationStateEQ:Option=Option("-enable-copy-propagation=",.joined, attributes:[.frontend,.noDriver], metaVar:"true|requested-passes-only|false", helpText:"Whether to enable copy propagation")
315
321
publicstaticletenableCopyPropagation:Option=Option("-enable-copy-propagation",.flag, attributes:[.frontend,.noDriver], helpText:"Run SIL copy propagation with lexical lifetimes to shorten object lifetimes while preserving variable lifetimes.")
@@ -331,7 +337,6 @@ extension Option {
331
337
publicstaticletenableExperimentalFeature:Option=Option("-enable-experimental-feature",.separate, attributes:[.frontend], helpText:"Enable an experimental feature")
publicstaticletenableExperimentalNamedOpaqueTypes:Option=Option("-enable-experimental-named-opaque-types",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable experimental support for named opaque result types")
337
342
publicstaticletenableExperimentalOpaqueTypeErasure:Option=Option("-enable-experimental-opaque-type-erasure",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Type-erases opaque types that conform to @_typeEraser protocols")
@@ -400,7 +405,7 @@ extension Option {
400
405
publicstaticletdriverExplicitModuleBuild:Option=Option("-explicit-module-build",.flag, attributes:[.helpHidden], helpText:"Prebuild module dependencies to make them explicit")
401
406
publicstaticletexplicitSwiftModuleMap:Option=Option("-explicit-swift-module-map-file",.separate, attributes:[.frontend,.noDriver], metaVar:"<path>", helpText:"Specify a JSON file containing information of explicit Swift modules")
402
407
publicstaticletexternalPassPipelineFilename:Option=Option("-external-pass-pipeline-filename",.separate, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"<pass_pipeline_file>", helpText:"Use the pass pipeline defined by <pass_pipeline_file>")
403
-
publicstaticlete:Option=Option("-e",.joinedOrSeparate, attributes:[], helpText:"Executes a line of code provided on the command line")
408
+
publicstaticlete:Option=Option("-e",.separate, attributes:[], helpText:"Executes a line of code provided on the command line")
publicstaticletfileCompilationDir:Option=Option("-file-compilation-dir",.separate, attributes:[.frontend], metaVar:"<path>", helpText:"The compilation directory to embed in the debug info. Coverage mapping is not supported yet.")
406
411
publicstaticletfilePrefixMap:Option=Option("-file-prefix-map",.separate, attributes:[.frontend], metaVar:"<prefix=replacement>", helpText:"Remap source paths in debug, coverage, and index info")
0 commit comments