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
@@ -66,6 +66,7 @@ extension Option {
66
66
publicstaticletdiagnosticStyle:Option=Option("-diagnostic-style",.separate, attributes:[.frontend,.doesNotAffectIncrementalBuild], metaVar:"<style>", helpText:"The formatting style used when printing diagnostics ('swift' or 'llvm')")
67
67
publicstaticletdiagnosticsEditorMode:Option=Option("-diagnostics-editor-mode",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Diagnostics will be used in editor")
68
68
publicstaticletdisableAccessControl:Option=Option("-disable-access-control",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Don't respect access control restrictions")
69
+
publicstaticletdisableActorDataRaceChecks:Option=Option("-disable-actor-data-race-checks",.flag, attributes:[.frontend,.doesNotAffectIncrementalBuild], helpText:"Disable runtime checks for actor data races")
69
70
publicstaticletdisableArcOpts:Option=Option("-disable-arc-opts",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Don't run SIL ARC optimization passes.")
70
71
publicstaticletdisableAstVerifier:Option=Option("-disable-ast-verifier",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Do not 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 enable-ast-verifier is used as well")
71
72
publicstaticletdisableAutolinkFramework:Option=Option("-disable-autolink-framework",.separate, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable autolinking against the provided framework")
@@ -214,6 +215,7 @@ extension Option {
214
215
publicstaticletemitTbd:Option=Option("-emit-tbd",.flag, attributes:[.frontend,.noInteractive,.supplementaryOutput], helpText:"Emit a TBD file")
215
216
publicstaticletemitVerboseSil:Option=Option("-emit-verbose-sil",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Emit locations during SIL emission")
216
217
publicstaticletenableAccessControl:Option=Option("-enable-access-control",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Respect access control restrictions")
218
+
publicstaticletenableActorDataRaceChecks:Option=Option("-enable-actor-data-race-checks",.flag, attributes:[.frontend,.doesNotAffectIncrementalBuild], helpText:"Emit runtime checks for actor data races")
217
219
publicstaticletenableAnonymousContextMangledNames:Option=Option("-enable-anonymous-context-mangled-names",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable emission of mangled names in anonymous context descriptors")
218
220
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")
219
221
publicstaticletenableBatchMode:Option=Option("-enable-batch-mode",.flag, attributes:[.helpHidden,.frontend,.noInteractive], helpText:"Enable combining frontend jobs into batches")
publicstaticletenableExperimentalCxxInterop:Option=Option("-enable-experimental-cxx-interop",.flag, helpText:"Allow importing C++ modules into Swift (experimental feature)")
232
-
publicstaticletenableExperimentalEnumCodableDerivation:Option=Option("-enable-experimental-enum-codable-derivation",.flag, attributes:[.helpHidden,.frontend,.noDriver,.moduleInterface], helpText:"Enable experimental derivation of Codable for enums")
publicstaticletsilUnrollThreshold:Option=Option("-sil-unroll-threshold",.separate, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"<250>", helpText:"Controls the aggressiveness of loop unrolling")
438
439
publicstaticletsilVerifyAll:Option=Option("-sil-verify-all",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Verify SIL after each transform")
439
440
publicstaticletsilVerifyNone:Option=Option("-sil-verify-none",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Completely disable SIL verification")
441
+
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")
440
442
publicstaticletskipSynthesizedMembers:Option=Option("-skip-synthesized-members",.flag, attributes:[.noDriver], helpText:"Skip members inherited through classes or default implementations")
441
443
publicstaticletsolverDisableShrink:Option=Option("-solver-disable-shrink",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable the shrink phase of expression type checking")
0 commit comments