We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adf3a75 commit f8f0037Copy full SHA for f8f0037
Sources/SourceKitBazelBSP/RequestHandlers/SKOptions/CompilerArgumentsProcessor.swift
@@ -87,7 +87,8 @@ enum CompilerArgumentsProcessor {
87
var index = 0
88
let count = rawArguments.count
89
90
- // drop clang and swiftc compiler call
+ // For Swift, invocations start with "wrapped swiftc". We can ignore those.
91
+ // In the case of Obj-C, this is just a single `clang` reference.
92
switch language {
93
case .swift: index = 2
94
case .objective_c: index = 1
0 commit comments