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 5607a3b commit e27aa12Copy full SHA for e27aa12
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