Skip to content

Commit f8f0037

Browse files
committed
Describe a comment further
1 parent adf3a75 commit f8f0037

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/SourceKitBazelBSP/RequestHandlers/SKOptions/CompilerArgumentsProcessor.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ enum CompilerArgumentsProcessor {
8787
var index = 0
8888
let count = rawArguments.count
8989

90-
// drop clang and swiftc compiler call
90+
// 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.
9192
switch language {
9293
case .swift: index = 2
9394
case .objective_c: index = 1

0 commit comments

Comments
 (0)