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
@@ -70,7 +70,7 @@ extension Option {
70
70
publicstaticletbypassResilience:Option=Option("-bypass-resilience-checks",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Ignore all checks for module resilience.")
publicstaticletcacheDisableReplay:Option=Option("-cache-disable-replay",.flag, attributes:[.frontend,.cacheInvariant], helpText:"Skip loading the compilation result from cache")
73
-
publicstaticletcacheReplayPrefixMap:Option=Option("-cache-replay-prefix-map",.separate, attributes:[.frontend,.noDriver,.cacheInvariant], metaVar:"<prefix=replacement>", helpText:"Remap paths when replaying outputs from cache")
73
+
publicstaticletcacheReplayPrefixMap:Option=Option("-cache-replay-prefix-map",.multiArg, attributes:[.frontend,.noDriver,.cacheInvariant], metaVar:"<prefix> <replacement>", helpText:"Remap paths when replaying outputs from cache", numArgs:2)
74
74
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")
75
75
publicstaticletcasBackendMode:Option=Option("-cas-backend-mode=",.joined, attributes:[.frontend,.noDriver], metaVar:"native|casid|verify", helpText:"CASBackendMode for output kind")
76
76
publicstaticletcasBackend:Option=Option("-cas-backend",.flag, attributes:[.frontend,.noDriver], helpText:"Enable using CASBackend for object file output")
@@ -835,7 +835,8 @@ extension Option {
835
835
publicstaticletscannerOutputDir:Option=Option("-scanner-output-dir",.separate, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Directory for generated files from swift dependency scanner")
836
836
publicstaticletscannerPrefixMapSdk:Option=Option("-scanner-prefix-map-sdk",.separate, attributes:[], metaVar:"<path>", helpText:"Remap paths within SDK reported by dependency scanner")
837
837
publicstaticletscannerPrefixMapToolchain:Option=Option("-scanner-prefix-map-toolchain",.separate, attributes:[], metaVar:"<path>", helpText:"Remap paths within toolchain directory reported by dependency scanner")
838
-
publicstaticletscannerPrefixMap:Option=Option("-scanner-prefix-map",.separate, attributes:[.frontend], metaVar:"<prefix=replacement>", helpText:"Remap paths reported by dependency scanner")
838
+
publicstaticletscannerPrefixMap:Option=Option("-scanner-prefix-map",.separate, attributes:[], metaVar:"<prefix=replacement>", helpText:"Remap paths reported by dependency scanner")
publicstaticletsdkModuleCachePath:Option=Option("-sdk-module-cache-path",.separate, attributes:[.frontend,.doesNotAffectIncrementalBuild,.argumentIsPath], helpText:"Specifies the module cache path for explicitly-built SDK modules")
840
841
publicstaticletsdk:Option=Option("-sdk",.separate, attributes:[.frontend,.synthesizeInterface,.argumentIsPath], metaVar:"<sdk>", helpText:"Compile against <sdk>")
841
842
publicstaticletserializeBreakingChangesPath:Option=Option("-serialize-breaking-changes-path",.separate, attributes:[.noInteractive,.argumentIsPath], metaVar:"<path>", helpText:"Serialize breaking changes found by the API digester to <path>")
0 commit comments