Skip to content

Commit 96bc09e

Browse files
Use _.
1 parent f772444 commit 96bc09e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Support/CommandLine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ static Option *LookupNearestOption(StringRef Arg,
602602
// Find the closest match.
603603
Option *Best = nullptr;
604604
unsigned BestDistance = 0;
605-
for (const auto &[Key, O] : OptionsMap) {
605+
for (const auto &[_, O] : OptionsMap) {
606606
// Do not suggest really hidden options (not shown in any help).
607607
if (O->getOptionHiddenFlag() == ReallyHidden)
608608
continue;

0 commit comments

Comments
 (0)