Skip to content

Commit b6552cc

Browse files
ilovepiIanWood1
authored andcommitted
[clang-doc][NFC] Use qualified auto (llvm#136394)
1 parent e1e5cc1 commit b6552cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/clang-doc/Representation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ void SymbolInfo::merge(SymbolInfo &&Other) {
215215
// Unconditionally extend the list of locations, since we want all of them.
216216
std::move(Other.Loc.begin(), Other.Loc.end(), std::back_inserter(Loc));
217217
llvm::sort(Loc);
218-
auto Last = std::unique(Loc.begin(), Loc.end());
218+
auto *Last = std::unique(Loc.begin(), Loc.end());
219219
Loc.erase(Last, Loc.end());
220220
mergeBase(std::move(Other));
221221
}

0 commit comments

Comments
 (0)