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
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -238,6 +238,7 @@ extension Option {
238
238
publicstaticletdisableLlvmVerifyEach:Option=Option("-disable-llvm-verify-each",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Don't run the LLVM IR verifier after every pass.")
239
239
publicstaticletdisableLlvmVerify:Option=Option("-disable-llvm-verify",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Don't run the LLVM IR verifier.")
240
240
publicstaticletdisableMigratorFixits:Option=Option("-disable-migrator-fixits",.flag, attributes:[.frontend,.noInteractive], helpText:"Disable the Migrator phase which automatically applies fix-its")
241
+
publicstaticletdisableModuleSelectorsInModuleInterface:Option=Option("-disable-module-selectors-in-module-interface",.flag, attributes:[.frontend,.noInteractive], helpText:"When emitting module interface files, do not use module selectors to avoid name collisions")
241
242
publicstaticletdisableModulesValidateSystemHeaders:Option=Option("-disable-modules-validate-system-headers",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable validating system headers in the Clang importer")
242
243
publicstaticletdisableNamedLazyImportAsMemberLoading:Option=Option("-disable-named-lazy-import-as-member-loading",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Import all of a type's import-as-member globals together, as Swift 5.10 and earlier did; temporary workaround for modules that are sensitive to this change")
243
244
publicstaticletdisableNamedLazyMemberLoading:Option=Option("-disable-named-lazy-member-loading",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable per-name lazy member loading (obsolete)")
@@ -497,6 +498,7 @@ extension Option {
497
498
publicstaticletenableLlvmVerifyEach:Option=Option("-enable-llvm-verify-each",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Run the LLVM IR verifier after every pass.")
498
499
publicstaticletenableLlvmVfe:Option=Option("-enable-llvm-vfe",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Use LLVM IR Virtual Function Elimination on Swift class virtual tables")
499
500
publicstaticletenableLlvmWme:Option=Option("-enable-llvm-wme",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Use LLVM IR Witness Method Elimination on Swift protocol witness tables")
501
+
publicstaticletenableModuleSelectorsInModuleInterface:Option=Option("-enable-module-selectors-in-module-interface",.flag, attributes:[.frontend,.noInteractive], helpText:"When emitting module interface files, use module selectors to avoid name collisions")
500
502
publicstaticletenableMoveInoutStackProtector:Option=Option("-enable-move-inout-stack-protector",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable the stack protector by moving values to temporaries")
501
503
publicstaticletenableNewLlvmPassManager:Option=Option("-enable-new-llvm-pass-manager",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable the new llvm pass manager")
502
504
publicstaticletenableNewOperatorLookup:Option=Option("-enable-new-operator-lookup",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable the new operator decl and precedencegroup lookup behavior")
@@ -819,6 +821,7 @@ extension Option {
819
821
publicstaticletdependencyScanCacheRemarks:Option=Option("-Rdependency-scan-cache",.flag, attributes:[.frontend,.noDriver], helpText:"Emit remarks indicating use of the serialized module dependency scanning cache.")
820
822
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")
821
823
publicstaticletreflectionMetadataForDebuggerOnly:Option=Option("-reflection-metadata-for-debugger-only",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Emit reflection metadata for debugger only, don't make them available at runtime")
824
+
publicstaticletregisterModuleDependency:Option=Option("-register-module-dependency",.separate, helpText:"Register module for dependency scan without importing in the frontend")
publicstaticletrepl:Option=Option("-repl",.flag, attributes:[.helpHidden,.frontend,.noBatch], helpText:"REPL mode (the default if there is no input file)", group:.modes)
824
827
publicstaticletreportErrorsToDebugger:Option=Option("-report-errors-to-debugger",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Deprecated, will be removed in future versions.")
0 commit comments