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
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -76,14 +76,15 @@ extension Option {
76
76
publicstaticletcasEmitCasidFile:Option=Option("-cas-emit-casid-file",.flag, attributes:[.frontend,.noDriver], helpText:"Emit .casid file next to object file when CAS Backend is enabled")
77
77
publicstaticletcasFs:Option=Option("-cas-fs",.separate, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"<cas-id>", helpText:"Root CASID for CAS FileSystem")
78
78
publicstaticletcasPath:Option=Option("-cas-path",.separate, attributes:[.frontend,.cacheInvariant], metaVar:"<path>", helpText:"Path to CAS")
79
-
publicstaticletcasPluginOption:Option=Option("-cas-plugin-option",.separate, attributes:[.frontend], metaVar:"<name>=<option>", helpText:"Option pass to CAS Plugin")
80
-
publicstaticletcasPluginPath:Option=Option("-cas-plugin-path",.separate, attributes:[.frontend], metaVar:"<path>", helpText:"Path to CAS Plugin")
79
+
publicstaticletcasPluginOption:Option=Option("-cas-plugin-option",.separate, attributes:[.frontend,.cacheInvariant], metaVar:"<name>=<option>", helpText:"Option pass to CAS Plugin")
80
+
publicstaticletcasPluginPath:Option=Option("-cas-plugin-path",.separate, attributes:[.frontend,.cacheInvariant], metaVar:"<path>", helpText:"Path to CAS Plugin")
81
81
publicstaticletcheckApiAvailabilityOnly:Option=Option("-check-api-availability-only",.flag, attributes:[.helpHidden,.frontend,.noInteractive], helpText:"Deprecated, has no effect")
82
82
publicstaticletcheckOnoneCompleteness:Option=Option("-check-onone-completeness",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Print errors if the compile OnoneSupport module is missing symbols")
83
83
publicstaticletcheckedAsyncObjcBridging:Option=Option("-checked-async-objc-bridging=",.joined, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Control whether checked continuations are used when bridging async calls from Swift to ObjC: 'on', 'off' ")
84
84
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")
85
85
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.")
86
86
publicstaticletclangHeaderExposeModule:Option=Option("-clang-header-expose-module",.separate, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"<imported-module-name>=<generated-header-name>", helpText:"Allow the compiler to assume that APIs from the specified module are exposed to C/C++/Objective-C in another generated header, so that APIs in the current module that depend on declarations from the specified module can be exposed in the generated header.")
87
+
publicstaticletclangIncludeTreeFilelist:Option=Option("-clang-include-tree-filelist",.separate, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"<cas-id>", helpText:"Clang Include Tree FileList CASID")
87
88
publicstaticletclangIncludeTreeRoot:Option=Option("-clang-include-tree-root",.separate, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"<cas-id>", helpText:"Clang Include Tree CASID")
88
89
publicstaticletclangScannerModuleCachePath:Option=Option("-clang-scanner-module-cache-path",.separate, attributes:[.frontend,.doesNotAffectIncrementalBuild,.argumentIsPath], helpText:"Specifies the Clang dependency scanner module cache path")
89
90
publicstaticletclangTarget:Option=Option("-clang-target",.separate, attributes:[.frontend,.synthesizeInterface], helpText:"Separately set the target we should use for internal Clang instance")
@@ -234,6 +235,7 @@ extension Option {
234
235
publicstaticletdisablePreviousImplementationCallsInDynamicReplacements:Option=Option("-disable-previous-implementation-calls-in-dynamic-replacements",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable calling the previous implementation in dynamic replacements")
235
236
publicstaticletdisablePrintMissingImportsInModuleInterface:Option=Option("-disable-print-missing-imports-in-module-interface",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable adding to the module interface imports used from API and missing from the sources")
236
237
publicstaticletdisablePrintPackageNameForNonPackageInterface:Option=Option("-disable-print-package-name-for-non-package-interface",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"No op; package name is only printed in package interface by default")
publicstaticletdisableReadonlyStaticObjects:Option=Option("-disable-readonly-static-objects",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Avoid allocating static objects in a read-only data section")
238
240
publicstaticletdisableReflectionMetadata:Option=Option("-disable-reflection-metadata",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable emission of reflection metadata for nominal types")
239
241
publicstaticletdisableReflectionNames:Option=Option("-disable-reflection-names",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable emission of names of stored properties and enum cases inreflection metadata")
@@ -461,6 +463,7 @@ extension Option {
461
463
publicstaticletenablePackMetadataStackPromotion:Option=Option("-enable-pack-metadata-stack-promotion=",.joined, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"true|false", helpText:"Whether to skip heapifying stack metadata packs when possible.")
462
464
publicstaticletenablePackMetadataStackPromotionNoArg:Option=Option("-enable-pack-metadata-stack-promotion",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Skip heapifying stack metadata packs when possible.")
463
465
publicstaticletenablePrivateImports:Option=Option("-enable-private-imports",.flag, attributes:[.helpHidden,.frontend,.noInteractive], helpText:"Allows this module's internal and private API to be accessed")
publicstaticletenableRemoveDeprecatedCheck:Option=Option("-enable-remove-deprecated-check",.flag, attributes:[.noDriver], helpText:"Diagnosing removal of deprecated symbols")
466
469
publicstaticletenableRemoveDeprecatedCheck_:Option=Option("--enable-remove-deprecated-check",.flag, alias:Option.enableRemoveDeprecatedCheck, attributes:[.noDriver], helpText:"Diagnosing removal of deprecated symbols")
@@ -710,6 +713,7 @@ extension Option {
710
713
publicstaticletprintPreprocessedExplicitDependencyGraph:Option=Option("-print-preprocessed-explicit-dependency-graph",.flag, attributes:[.helpHidden], helpText:"Print the result of module dependency scanning to output")
711
714
publicstaticletprintStats:Option=Option("-print-stats",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Print various statistics")
712
715
publicstaticletprintTargetInfo:Option=Option("-print-target-info",.flag, attributes:[.frontend], metaVar:"<triple>", helpText:"Print target information for the given target <triple>, such as x86_64-apple-macos10.9")
716
+
publicstaticletprintZeroStats:Option=Option("-print-zero-stats",.flag, attributes:[.helpHidden,.frontend], helpText:"Prints all stats even if they are zero")
713
717
publicstaticletprofileCoverageMapping:Option=Option("-profile-coverage-mapping",.flag, attributes:[.frontend,.noInteractive], helpText:"Generate coverage data for use with profiled execution counts")
714
718
publicstaticletprofileGenerate:Option=Option("-profile-generate",.flag, attributes:[.frontend,.noInteractive], helpText:"Generate instrumented code to collect execution counts")
715
719
publicstaticletprofileStatsEntities:Option=Option("-profile-stats-entities",.flag, attributes:[.helpHidden,.frontend], helpText:"Profile changes to stats in -stats-output-dir, subdivided by source entity")
0 commit comments