Skip to content

Commit cfb6f8c

Browse files
authored
Add -e flag for new driver (#61171)
Matches swiftlang/swift-driver#1188.
1 parent edd8d1c commit cfb6f8c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/swift/Option/Options.td

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,9 @@ def tools_directory : Separate<["-"], "tools-directory">,
241241

242242
def D : JoinedOrSeparate<["-"], "D">, Flags<[FrontendOption]>,
243243
HelpText<"Marks a conditional compilation flag as true">;
244+
245+
def e : JoinedOrSeparate<["-"], "e">, Flags<[NewDriverOnlyOption]>,
246+
HelpText<"Executes a line of code provided on the command line">;
244247

245248
def F : JoinedOrSeparate<["-"], "F">,
246249
Flags<[FrontendOption, ArgumentIsPath, SwiftAPIExtractOption, SwiftSymbolGraphExtractOption, SwiftAPIDigesterOption]>,

0 commit comments

Comments
 (0)