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
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,8 @@ extension Option {
31
31
publicstaticletavoidLocation_:Option=Option("--avoid-location",.flag, alias:Option.avoidLocation, attributes:[.noDriver], helpText:"Avoid serializing the file paths of SDK nodes.")
32
32
publicstaticletavoidToolArgs:Option=Option("-avoid-tool-args",.flag, attributes:[.noDriver], helpText:"Avoid serializing the arguments for invoking the tool.")
33
33
publicstaticletavoidToolArgs_:Option=Option("--avoid-tool-args",.flag, alias:Option.avoidToolArgs, attributes:[.noDriver], helpText:"Avoid serializing the arguments for invoking the tool.")
publicstaticletbackupModuleInterfacePath:Option=Option("-backup-module-interface-path",.separate, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Directory of module interfaces as backups to those from SDKs")
34
36
publicstaticletbadFileDescriptorRetryCount:Option=Option("-bad-file-descriptor-retry-count",.separate, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Number of retrying opening a file if previous open returns a bad file descriptor error.")
35
37
publicstaticletbaselineDir:Option=Option("-baseline-dir",.joinedOrSeparate, attributes:[.noDriver,.argumentIsPath], helpText:"The path to a directory containing baseline files: macos.json, iphoneos.json, appletvos.json, watchos.json, and iosmac.json")
36
38
publicstaticletbaselinePath:Option=Option("-baseline-path",.joinedOrSeparate, attributes:[.noDriver,.argumentIsPath], helpText:"The path to the Json file that we should use as the baseline")
@@ -259,7 +261,6 @@ extension Option {
259
261
publicstaticletenableDeserializationRecovery:Option=Option("-enable-deserialization-recovery",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Attempt to recover from missing xrefs (etc) in swiftmodules")
260
262
publicstaticletenableDynamicReplacementChaining:Option=Option("-enable-dynamic-replacement-chaining",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable chaining of dynamic replacements")
publicstaticletenableExperimentalCxxInterop:Option=Option("-enable-experimental-cxx-interop",.flag, helpText:"Allow importing C++ modules into Swift (experimental feature)")
@@ -287,7 +288,6 @@ extension Option {
287
288
publicstaticletenableSourceImport:Option=Option("-enable-source-import",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable importing of Swift source files")
publicstaticletenableSwift3ObjcInference:Option=Option("-enable-swift3-objc-inference",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable Swift 3's @objc inference rules for NSObject-derived classes and 'dynamic' members (emulates Swift 3 behavior)")
290
-
publicstaticletenableSwiftcall:Option=Option("-enable-swiftcall",.flag, attributes:[.frontend,.noDriver], helpText:"Enable the use of LLVM swiftcall support")
291
291
publicstaticletenableTargetOsChecking:Option=Option("-enable-target-os-checking",.flag, attributes:[.frontend,.noDriver], helpText:"Enable checking the target OS of serialized modules")
292
292
publicstaticletenableTestableAttrRequiresTestableModule:Option=Option("-enable-testable-attr-requires-testable-module",.flag, attributes:[.frontend,.noDriver], helpText:"Enable checking of @testable")
293
293
publicstaticletenableTesting:Option=Option("-enable-testing",.flag, attributes:[.helpHidden,.frontend,.noInteractive], helpText:"Allows this module's internal API to be accessed for testing")
@@ -457,6 +457,8 @@ extension Option {
457
457
publicstaticletprofileUse:Option=Option("-profile-use=",.commaJoined, attributes:[.frontend,.noInteractive,.argumentIsPath], metaVar:"<profdata>", helpText:"Supply a profdata file to enable profile-guided optimization")
458
458
publicstaticletprotocolRequirementAllowList:Option=Option("-protocol-requirement-allow-list",.separate, attributes:[.noDriver,.argumentIsPath], metaVar:"<path>", helpText:"File containing a new-line separated list of protocol names")
459
459
publicstaticletprotocolRequirementAllowList_:Option=Option("--protocol-requirement-allow-list",.separate, alias:Option.protocolRequirementAllowList, attributes:[.noDriver,.argumentIsPath], metaVar:"<path>", helpText:"File containing a new-line separated list of protocol names")
publicstaticletemitCrossImportRemarks:Option=Option("-Rcross-import",.flag, attributes:[.frontend,.doesNotAffectIncrementalBuild], helpText:"Emit a remark if a cross-import of a module is triggered.")
461
463
publicstaticletreadLegacyTypeInfoPathEQ:Option=Option("-read-legacy-type-info-path=",.joined, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Read legacy type layout from the given path instead of default path")
publicstaticletuseMalloc:Option=Option("-use-malloc",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Allocate internal data structures using malloc (for memory debugging)")
550
552
publicstaticletuseStaticResourceDir:Option=Option("-use-static-resource-dir",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Use resources in the static resource directory")
551
553
publicstaticletuseTabs:Option=Option("-use-tabs",.flag, attributes:[.noInteractive,.noBatch,.indent], helpText:"Use tabs for indentation.", group:.codeFormatting)
552
-
publicstaticletuserModuleVersion:Option=Option("-user-module-version",.separate, attributes:[.frontend,.moduleInterface], metaVar:"<vers>", helpText:"Module version specified from Swift module authors")
554
+
publicstaticletuserModuleVersion:Option=Option("-user-module-version",.separate, attributes:[.frontend], metaVar:"<vers>", helpText:"Module version specified from Swift module authors")
553
555
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.")
554
556
publicstaticletvalueRecursionThreshold:Option=Option("-value-recursion-threshold",.separate, attributes:[.helpHidden,.frontend,.doesNotAffectIncrementalBuild], helpText:"Set the maximum depth for direct recursion in value types")
555
557
publicstaticletverifyAdditionalFile:Option=Option("-verify-additional-file",.separate, attributes:[.frontend,.noDriver], helpText:"Verify diagnostics in this file in addition to source files")
0 commit comments