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
This adds flags for setting the variant module doc path, source info
path, api descriptor path, module interface path, private interface
path, and package interface path.
publicstaticletemitTbdPath:Option=Option("-emit-tbd-path",.separate, attributes:[.frontend,.noInteractive,.argumentIsPath,.supplementaryOutput,.cacheInvariant], metaVar:"<path>", helpText:"Emit the TBD file to <path>")
386
386
publicstaticletemitTbd:Option=Option("-emit-tbd",.flag, attributes:[.frontend,.noInteractive,.supplementaryOutput], helpText:"Emit a TBD file")
387
+
publicstaticletemitVariantApiDescriptorPath:Option=Option("-emit-variant-api-descriptor-path",.separate, attributes:[.frontend,.noInteractive,.argumentIsPath,.supplementaryOutput,.cacheInvariant], metaVar:"<path>", helpText:"Output a JSON file describing the target variant module's API to <path>")
388
+
publicstaticletemitVariantModuleDocPath:Option=Option("-emit-variant-module-doc-path",.separate, attributes:[.frontend,.noDriver,.cacheInvariant], metaVar:"<path>", helpText:"Output module documentation file for the target variant to <path>")
389
+
publicstaticletemitVariantModuleInterfacePath:Option=Option("-emit-variant-module-interface-path",.separate, attributes:[.frontend,.noInteractive,.argumentIsPath,.supplementaryOutput,.cacheInvariant], metaVar:"<path>", helpText:"Output module interface file for the target variant to <path>")
390
+
publicstaticletemitVariantModulePath:Option=Option("-emit-variant-module-path",.separate, attributes:[.noInteractive,.argumentIsPath,.supplementaryOutput,.cacheInvariant], metaVar:"<path>", helpText:"Emit an importable module for the target variant at the specified path")
391
+
publicstaticletemitVariantModuleSourceInfoPath:Option=Option("-emit-variant-module-source-info-path",.separate, attributes:[.frontend,.noInteractive,.argumentIsPath,.supplementaryOutput], metaVar:"<path>", helpText:"Output module source info file for the target variant to <path>")
392
+
publicstaticletemitVariantPackageModuleInterfacePath:Option=Option("-emit-variant-package-module-interface-path",.separate, attributes:[.frontend,.noInteractive,.argumentIsPath,.supplementaryOutput,.cacheInvariant], metaVar:"<path>", helpText:"Output package module interface file for the target variant to <path>")
393
+
publicstaticletemitVariantPrivateModuleInterfacePath:Option=Option("-emit-variant-private-module-interface-path",.separate, attributes:[.frontend,.noInteractive,.argumentIsPath,.supplementaryOutput,.cacheInvariant], metaVar:"<path>", helpText:"Output private module interface file for the target variant to <path>")
387
394
publicstaticletemitVerboseSil:Option=Option("-emit-verbose-sil",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Emit locations during SIL emission")
388
395
publicstaticletemptyAbiDescriptor:Option=Option("-empty-abi-descriptor",.flag, attributes:[.frontend,.noDriver], helpText:"Avoid printing actual module content into ABI descriptor file")
389
396
publicstaticletemptyBaseline:Option=Option("-empty-baseline",.flag, attributes:[.noDriver], helpText:"Use empty baseline for diagnostics")
@@ -923,10 +930,6 @@ extension Option {
923
930
publicstaticletXlinker:Option=Option("-Xlinker",.separate, attributes:[.doesNotAffectIncrementalBuild], helpText:"Specifies an option which should be passed to the linker")
924
931
publicstaticletXllvm:Option=Option("-Xllvm",.separate, attributes:[.helpHidden,.frontend], metaVar:"<arg>", helpText:"Pass <arg> to LLVM.")
publicstaticletemitVariantModulePath:Option=Option("-emit-variant-module-path",.separate, attributes:[.noInteractive,.supplementaryOutput,.argumentIsPath], helpText:"Emit an importable module for the target variant at the specified path")
928
-
publicstaticletemitVariantModuleInterface:Option=Option("-emit-variant-module-interface",.flag, attributes:[.noInteractive,.supplementaryOutput], helpText:"Emit an importable module for the target variant")
0 commit comments