Skip to content

Commit 7868050

Browse files
committed
Forward -ipi-clang-module to the frontend
Add the `Option.ipiClangModule` definition and forward the ipi clang module names to the frontend. Update the Options file rdar://178067059
1 parent 87f4951 commit 7868050

3 files changed

Lines changed: 22 additions & 29 deletions

File tree

Sources/SwiftDriver/Jobs/FrontendJobHelpers.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ extension Driver {
297297
try commandLine.appendLast(.requireExplicitAvailability, from: &parsedOptions)
298298
try commandLine.appendLast(.requireExplicitAvailabilityTarget, from: &parsedOptions)
299299
try commandLine.appendLast(.libraryLevel, from: &parsedOptions)
300+
try commandLine.appendAll(.ipiClangModule, from: &parsedOptions)
300301
try commandLine.appendLast(.lto, from: &parsedOptions)
301302
try commandLine.appendLast(.accessNotesPath, from: &parsedOptions)
302303
try commandLine.appendLast(.enableActorDataRaceChecks, .disableActorDataRaceChecks, from: &parsedOptions)

0 commit comments

Comments
 (0)