Skip to content

Commit 5d72bf1

Browse files
authored
Merge pull request #1721 from swiftlang/add-interface-compler-version-option
[SwiftOptions] Add `-interface-compiler-version` frontend option
2 parents c99da63 + 9d96b29 commit 5d72bf1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/SwiftOptions/Options.swift

+2
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,7 @@ extension Option {
591591
public static let inputFileKey: Option = Option("-input-file-key", .separate, attributes: [.helpHidden, .frontend, .noDriver], helpText: "Cache Key for input file")
592592
public static let inputPaths: Option = Option("-input-paths", .separate, attributes: [.noDriver, .argumentIsPath], metaVar: "<path>", helpText: "The SDK contents under comparison")
593593
public static let inputPaths_: Option = Option("--input-paths", .separate, alias: Option.inputPaths, attributes: [.noDriver, .argumentIsPath], metaVar: "<path>", helpText: "The SDK contents under comparison")
594+
public static let swiftinterfaceCompilerVersion: Option = Option("-interface-compiler-version", .separate, attributes: [.helpHidden, .frontend], metaVar: "<intcvers>", helpText: "The version of the Swift compiler used to generate a .swiftinterface file")
594595
public static let internalizeAtLink: Option = Option("-internalize-at-link", .flag, attributes: [.helpHidden, .frontend, .noDriver], helpText: "Allow internalizing public symbols and vtables at link time (assume all client code of public types is part of the same link unit, or that external symbols are explicitly requested via -exported_symbols_list)")
595596
public static let interpret: Option = Option("-interpret", .flag, attributes: [.helpHidden, .frontend, .noDriver], helpText: "Immediate mode", group: .modes)
596597
public static let I: Option = Option("-I", .joinedOrSeparate, attributes: [.frontend, .synthesizeInterface, .argumentIsPath], helpText: "Add directory to the import search path")
@@ -1486,6 +1487,7 @@ extension Option {
14861487
Option.inputFileKey,
14871488
Option.inputPaths,
14881489
Option.inputPaths_,
1490+
Option.swiftinterfaceCompilerVersion,
14891491
Option.internalizeAtLink,
14901492
Option.interpret,
14911493
Option.I,

0 commit comments

Comments
 (0)