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
@@ -107,6 +107,7 @@ extension Option {
107
107
publicstaticletdisableBatchMode:Option=Option("-disable-batch-mode",.flag, attributes:[.helpHidden,.frontend,.noInteractive], helpText:"Disable combining frontend jobs into batches")
108
108
publicstaticletdisableBridgingPch:Option=Option("-disable-bridging-pch",.flag, attributes:[.helpHidden], helpText:"Disable automatic generation of bridging PCH files")
109
109
publicstaticletdisableBuildingInterface:Option=Option("-disable-building-interface",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disallow building binary module from textual interface")
110
+
publicstaticletdisableClangTarget:Option=Option("-disable-clang-target",.flag, attributes:[], helpText:"Disable a separately specified target triple for Clang instance to use")
110
111
publicstaticletdisableClangimporterSourceImport:Option=Option("-disable-clangimporter-source-import",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable ClangImporter and forward all requests straight the DWARF importer.")
111
112
publicstaticletdisableConcreteTypeMetadataMangledNameAccessors:Option=Option("-disable-concrete-type-metadata-mangled-name-accessors",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable concrete type metadata access by mangled name")
112
113
publicstaticletdisableConformanceAvailabilityErrors:Option=Option("-disable-conformance-availability-errors",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Diagnose conformance availability violations as warnings")
@@ -354,6 +355,7 @@ extension Option {
354
355
publicstaticletimportPrescan:Option=Option("-import-prescan",.flag, attributes:[.frontend,.noDriver], helpText:"When performing a dependency scan, only dentify all imports of the main Swift module sources")
355
356
publicstaticletimportUnderlyingModule:Option=Option("-import-underlying-module",.flag, attributes:[.frontend,.noInteractive], helpText:"Implicitly imports the Objective-C half of a module")
356
357
publicstaticletinPlace:Option=Option("-in-place",.flag, attributes:[.noInteractive,.noBatch,.indent], helpText:"Overwrite input file with formatted file.", group:.codeFormatting)
358
+
publicstaticletincludeSpiSymbols:Option=Option("-include-spi-symbols",.flag, attributes:[.helpHidden,.frontend,.noInteractive,.supplementaryOutput], helpText:"Add symbols with SPI information to the symbol graph")
357
359
publicstaticletincremental:Option=Option("-incremental",.flag, attributes:[.helpHidden,.noInteractive,.doesNotAffectIncrementalBuild], helpText:"Perform an incremental build if possible")
358
360
publicstaticletindentSwitchCase:Option=Option("-indent-switch-case",.flag, attributes:[.noInteractive,.noBatch,.indent], helpText:"Indent cases in switch statements.", group:.codeFormatting)
359
361
publicstaticletindentWidth:Option=Option("-indent-width",.separate, attributes:[.noInteractive,.noBatch,.indent], metaVar:"<n>", helpText:"Number of characters to indent.", group:.codeFormatting)
@@ -510,7 +512,6 @@ extension Option {
510
512
publicstaticletsilVerifyAll:Option=Option("-sil-verify-all",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Verify SIL after each transform")
511
513
publicstaticletsilVerifyNone:Option=Option("-sil-verify-none",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Completely disable SIL verification")
512
514
publicstaticletskipInheritedDocs:Option=Option("-skip-inherited-docs",.flag, attributes:[.helpHidden,.frontend,.noInteractive,.supplementaryOutput], helpText:"Skip emitting doc comments for members inherited through classes or default implementations")
513
-
publicstaticletskipSwifttailccMusttailCheck:Option=Option("-skip-swifttailcc-musttail-check",.flag, attributes:[.helpHidden,.doesNotAffectIncrementalBuild], helpText:"Skip additional LLVM verification that all tail calls from swifttailcc->swifttailcc are marked musttail.")
514
515
publicstaticletskipSynthesizedMembers:Option=Option("-skip-synthesized-members",.flag, attributes:[.noDriver], helpText:"Skip members inherited through classes or default implementations")
515
516
publicstaticletsolverDisableShrink:Option=Option("-solver-disable-shrink",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable the shrink phase of expression type checking")
publicstaticletwarnLongExpressionTypeChecking:Option=Option("-warn-long-expression-type-checking",.separate, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"<n>", helpText:"Warns when type-checking a function takes longer than <n> ms")
publicstaticletwarnLongFunctionBodies:Option=Option("-warn-long-function-bodies",.separate, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"<n>", helpText:"Warns when type-checking a function takes longer than <n> ms")
593
+
publicstaticletwarnOnPotentiallyUnavailableEnumCase:Option=Option("-warn-on-potentially-unavailable-enum-case",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Downgrade potential unavailability of enum case to a warning")
592
594
publicstaticletwarnSwift3ObjcInferenceComplete:Option=Option("-warn-swift3-objc-inference-complete",.flag, attributes:[.frontend,.doesNotAffectIncrementalBuild], helpText:"Warn about deprecated @objc inference in Swift 3 for every declaration that will no longer be inferred as @objc in Swift 4")
593
595
publicstaticletwarnSwift3ObjcInferenceMinimal:Option=Option("-warn-swift3-objc-inference-minimal",.flag, attributes:[.frontend,.doesNotAffectIncrementalBuild], helpText:"Warn about deprecated @objc inference in Swift 3 based on direct uses of the Objective-C entrypoint")
0 commit comments