We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1e5cc1 commit b6552ccCopy full SHA for b6552cc
clang-tools-extra/clang-doc/Representation.cpp
@@ -215,7 +215,7 @@ void SymbolInfo::merge(SymbolInfo &&Other) {
215
// Unconditionally extend the list of locations, since we want all of them.
216
std::move(Other.Loc.begin(), Other.Loc.end(), std::back_inserter(Loc));
217
llvm::sort(Loc);
218
- auto Last = std::unique(Loc.begin(), Loc.end());
+ auto *Last = std::unique(Loc.begin(), Loc.end());
219
Loc.erase(Last, Loc.end());
220
mergeBase(std::move(Other));
221
}
0 commit comments