Skip to content

Commit a3218a0

Browse files
committed
Pass indexIgnoreClangModules through if indexStorePath is set
1 parent fc97603 commit a3218a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/SwiftDriver/Jobs/CompileJob.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ extension Driver {
344344
if !parsedOptions.contains(.indexIgnoreSystemModules) {
345345
commandLine.appendFlag(.indexSystemModules)
346346
}
347+
try commandLine.appendLast(.indexIgnoreClangModules, from: &parsedOptions)
347348
}
348349

349350
if parsedOptions.contains(.debugInfoStoreInvocation) ||

0 commit comments

Comments
 (0)