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
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,7 @@ extension Option {
60
60
publicstaticletcompilerStyleDiags:Option=Option("-compiler-style-diags",.flag, attributes:[.noDriver], helpText:"Print compiler style diagnostics to stderr.")
61
61
publicstaticletcompilerStyleDiags_:Option=Option("--compiler-style-diags",.flag, alias:Option.compilerStyleDiags, attributes:[.noDriver], helpText:"Print compiler style diagnostics to stderr.")
62
62
publicstaticletconditionalRuntimeRecords:Option=Option("-conditional-runtime-records",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Allow removal of runtime metadata records (public types, protocol conformances) based on whether they're used or unused")
63
+
publicstaticletconstGatherProtocolsFile:Option=Option("-const-gather-protocols-file",.separate, attributes:[.frontend,.noDriver], metaVar:"<path>", helpText:"Specify a list of protocols for extraction of conformances' const values'")
63
64
publicstaticletcontinueBuildingAfterErrors:Option=Option("-continue-building-after-errors",.flag, attributes:[.frontend,.doesNotAffectIncrementalBuild], helpText:"Continue building, even after errors are encountered")
64
65
publicstaticletcoveragePrefixMap:Option=Option("-coverage-prefix-map",.separate, attributes:[.frontend], metaVar:"<prefix=replacement>", helpText:"Remap source paths in coverage info")
publicstaticletemitBc:Option=Option("-emit-bc",.flag, attributes:[.frontend,.noInteractive,.doesNotAffectIncrementalBuild], helpText:"Emit LLVM BC file(s)", group:.modes)
224
225
publicstaticletemitClangHeaderPath:Option=Option("-emit-clang-header-path",.separate, alias:Option.emitObjcHeaderPath, attributes:[.frontend,.noDriver,.noInteractive,.argumentIsPath,.supplementaryOutput], helpText:"Emit an Objective-C and C++ header file to <path>")
226
+
publicstaticletemitConstValuesPath:Option=Option("-emit-const-values-path",.separate, attributes:[.frontend,.noInteractive,.argumentIsPath,.supplementaryOutput], metaVar:"<path>", helpText:"Emit the extracted compile-time known values to <path>")
publicstaticletemitExecutable:Option=Option("-emit-executable",.flag, attributes:[.noInteractive,.doesNotAffectIncrementalBuild], helpText:"Emit a linked executable", group:.modes)
@@ -395,6 +398,8 @@ extension Option {
395
398
publicstaticletiframework:Option=Option("-iframework",.joinedOrSeparate, attributes:[.noDriver,.argumentIsPath], helpText:"add a directory to the clang importer system framework search path")
publicstaticletignoreModuleSourceInfo:Option=Option("-ignore-module-source-info",.flag, attributes:[.frontend,.noDriver], helpText:"Avoid getting source location from .swiftsourceinfo files")
401
+
publicstaticletignoreSpiGroups:Option=Option("-ignore-spi-group",.separate, attributes:[.noDriver], helpText:"SPI group name to not diagnose about")
402
+
publicstaticletignoreSpiGroups_:Option=Option("--ignore-spi-group",.separate, alias:Option.ignoreSpiGroups, attributes:[.noDriver], helpText:"SPI group name to not diagnose about")
398
403
publicstaticletignoredUsrs:Option=Option("-ignored-usrs",.separate, attributes:[.noDriver,.argumentIsPath], metaVar:"<path>", helpText:"the file containing USRs of removed decls that the digester should ignore")
399
404
publicstaticletignoredUsrs_:Option=Option("--ignored-usrs",.separate, alias:Option.ignoredUsrs, attributes:[.noDriver,.argumentIsPath], metaVar:"<path>", helpText:"the file containing USRs of removed decls that the digester should ignore")
400
405
publicstaticletimportCfTypes:Option=Option("-import-cf-types",.flag, attributes:[.helpHidden,.frontend], helpText:"Recognize and import CF types as class types")
0 commit comments