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
+8
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,7 @@ extension Option {
52
52
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")
53
53
publicstaticletcheckApiAvailabilityOnly:Option=Option("-check-api-availability-only",.flag, attributes:[.helpHidden,.frontend,.noInteractive], helpText:"Only check the availability of the APIs, ignore function bodies")
54
54
publicstaticletcheckOnoneCompleteness:Option=Option("-check-onone-completeness",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Print errors if the compile OnoneSupport module is missing symbols")
55
+
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")
55
56
publicstaticletclangHeaderExposeDecls:Option=Option("-clang-header-expose-decls=",.joined, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"all-public|has-expose-attr", helpText:"Which declarations should be exposed in the generated clang header.")
56
57
publicstaticletclangTarget:Option=Option("-clang-target",.separate, attributes:[.frontend], helpText:"Separately set the target we should use for internal Clang instance")
57
58
publicstaticletcodeCompleteCallPatternHeuristics:Option=Option("-code-complete-call-pattern-heuristics",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Use heuristics to guess whether we want call pattern completions")
@@ -128,6 +129,7 @@ extension Option {
128
129
publicstaticletdisableClangimporterSourceImport:Option=Option("-disable-clangimporter-source-import",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable ClangImporter and forward all requests straight the DWARF importer.")
publicstaticletdisableColocateTypeDescriptors:Option=Option("-disable-colocate-type-descriptors",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable colocate type descriptors")
131
133
publicstaticletdisableConcreteTypeMetadataMangledNameAccessors:Option=Option("-disable-concrete-type-metadata-mangled-name-accessors",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable concrete type metadata access by mangled name")
132
134
publicstaticletdisableConformanceAvailabilityErrors:Option=Option("-disable-conformance-availability-errors",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Diagnose conformance availability violations as warnings")
133
135
publicstaticletdisableConstraintSolverPerformanceHacks:Option=Option("-disable-constraint-solver-performance-hacks",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable all the hacks in the constraint solver")
@@ -321,6 +323,7 @@ extension Option {
321
323
publicstaticletenableBridgingPch:Option=Option("-enable-bridging-pch",.flag, attributes:[.helpHidden], helpText:"Enable automatic generation of bridging PCH files")
322
324
publicstaticletenableBuiltinModule:Option=Option("-enable-builtin-module",.flag, attributes:[.frontend,.moduleInterface], helpText:"Enables the explicit import of the Builtin module")
publicstaticletenableColocateTypeDescriptors:Option=Option("-enable-colocate-type-descriptors",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable colocate type descriptors")
324
327
publicstaticletenableConformanceAvailabilityErrors:Option=Option("-enable-conformance-availability-errors",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Diagnose conformance availability violations as errors")
325
328
publicstaticletcopyPropagationStateEQ:Option=Option("-enable-copy-propagation=",.joined, attributes:[.frontend,.noDriver], metaVar:"true|requested-passes-only|false", helpText:"Whether to enable copy propagation")
326
329
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.")
@@ -714,6 +717,7 @@ extension Option {
714
717
publicstaticletuseStaticResourceDir:Option=Option("-use-static-resource-dir",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Use resources in the static resource directory")
715
718
publicstaticletuseTabs:Option=Option("-use-tabs",.flag, attributes:[.noInteractive,.noBatch,.indent], helpText:"Use tabs for indentation.", group:.codeFormatting)
716
719
publicstaticletuserModuleVersion:Option=Option("-user-module-version",.separate, attributes:[.frontend], metaVar:"<vers>", helpText:"Module version specified from Swift module authors")
720
+
publicstaticletvalidateClangModulesOnce:Option=Option("-validate-clang-modules-once",.flag, attributes:[.frontend], helpText:"Don't verify input files for Clang modules if the module has been successfully validated or loaded during this build session")
717
721
publicstaticletvalidateTbdAgainstIrEQ:Option=Option("-validate-tbd-against-ir=",.joined, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"<level>", helpText:"Compare the symbols in the IR against the TBD file that would be generated.")
718
722
publicstaticletvalueRecursionThreshold:Option=Option("-value-recursion-threshold",.separate, attributes:[.helpHidden,.frontend,.doesNotAffectIncrementalBuild], helpText:"Set the maximum depth for direct recursion in value types")
719
723
publicstaticletverifyAdditionalFile:Option=Option("-verify-additional-file",.separate, attributes:[.frontend,.noDriver], helpText:"Verify diagnostics in this file in addition to source files")
0 commit comments