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
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -431,7 +431,7 @@ extension Option {
431
431
publicstaticletenableDeserializationRecovery:Option=Option("-enable-deserialization-recovery",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Attempt to recover from missing xrefs (etc) in swiftmodules")
432
432
publicstaticletenableDeserializationSafety:Option=Option("-enable-deserialization-safety",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Avoid reading potentially unsafe decls in swiftmodules")
433
433
publicstaticletenableDestroyHoisting:Option=Option("-enable-destroy-hoisting=",.joined, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"true|false", helpText:"Whether to enable destroy hoisting")
434
-
publicstaticletenableDeterministicCheck:Option=Option("-enable-deterministic-check",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Check compiler output determinism by running it twice")
434
+
publicstaticletenableDeterministicCheck:Option=Option("-enable-deterministic-check",.flag, attributes:[.frontend,.doesNotAffectIncrementalBuild,.cacheInvariant], helpText:"Check compiler output determinism by running it twice")
435
435
publicstaticletenableDynamicReplacementChaining:Option=Option("-enable-dynamic-replacement-chaining",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable chaining of dynamic replacements")
436
436
publicstaticletenableEmitGenericClassRoTList:Option=Option("-enable-emit-generic-class-ro_t-list",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable emission of a section with references to class_ro_t of generic class patterns")
437
437
publicstaticletenableEmitTypeMallocForCoroFrame:Option=Option("-enable-emit-type-malloc-for-coro-frame",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable emitting typed malloc for coroutine frame allocation")
@@ -564,6 +564,7 @@ extension Option {
564
564
publicstaticletforcePublicLinkage:Option=Option("-force-public-linkage",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Force public linkage for private symbols. Used by LLDB.")
publicstaticletforceStructTypeLayouts:Option=Option("-force-struct-type-layouts",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Force type layout based lowering for structs")
567
+
publicstaticletformalCxxInteroperabilityMode:Option=Option("-formal-cxx-interoperability-mode=",.joined, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"<cxx-interop-version>|off", helpText:"What version of C++ interoperability a textual interface was originally generated with")
567
568
publicstaticletframework:Option=Option("-framework",.separate, attributes:[.frontend,.doesNotAffectIncrementalBuild], helpText:"Specifies a framework which should be linked against", group:.linkerOption)
568
569
publicstaticletfrontendParseableOutput:Option=Option("-frontend-parseable-output",.flag, attributes:[.frontend,.noDriver,.cacheInvariant], helpText:"Emit textual output in a parseable format")
569
570
publicstaticletFsystem:Option=Option("-Fsystem",.separate, attributes:[.frontend,.synthesizeInterface,.argumentIsPath], helpText:"Add directory to system framework search path")
@@ -848,7 +849,7 @@ extension Option {
848
849
publicstaticletstaticExecutable:Option=Option("-static-executable",.flag, helpText:"Statically link the executable")
849
850
publicstaticletstaticStdlib:Option=Option("-static-stdlib",.flag, attributes:[.doesNotAffectIncrementalBuild], helpText:"Statically link the Swift standard library")
850
851
publicstaticlet`static`:Option=Option("-static",.flag, attributes:[.frontend,.noInteractive,.moduleInterface], helpText:"Make this module statically linkable and make the output of -emit-library a static library.")
851
-
publicstaticletstatsOutputDir:Option=Option("-stats-output-dir",.separate, attributes:[.helpHidden,.frontend,.argumentIsPath], helpText:"Directory to write unified compilation-statistics files to")
852
+
publicstaticletstatsOutputDir:Option=Option("-stats-output-dir",.separate, attributes:[.helpHidden,.frontend,.argumentIsPath,.cacheInvariant], helpText:"Directory to write unified compilation-statistics files to")
852
853
publicstaticletstrictConcurrency:Option=Option("-strict-concurrency=",.joined, attributes:[.frontend,.doesNotAffectIncrementalBuild], helpText:"Specify the how strict concurrency checking will be. The value may be 'minimal' (most 'Sendable' checking is disabled), 'targeted' ('Sendable' checking is enabled in code that uses the concurrency model, or 'complete' ('Sendable' and other checking is enabled for all code in the module)")
853
854
publicstaticletstrictImplicitModuleContext:Option=Option("-strict-implicit-module-context",.flag, attributes:[.helpHidden,.frontend], helpText:"Enable the strict forwarding of compilation context to downstream implicit module dependencies")
0 commit comments