aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Kirth <paulkirth@google.com>2025-04-18 23:34:03 -0700
committerGitHub <noreply@github.com>2025-04-18 23:34:03 -0700
commite27aa12d47468e4717622a230bb560490b66c3e7 (patch)
treeb65f04d57f3c39ce84fa131136a7ce1bc4600715
parent5607a3b09c6fb6026adfcfb42710306a63523c57 (diff)
downloadllvm-e27aa12d47468e4717622a230bb560490b66c3e7.zip
llvm-e27aa12d47468e4717622a230bb560490b66c3e7.tar.gz
llvm-e27aa12d47468e4717622a230bb560490b66c3e7.tar.bz2
[clang-doc][NFC] Use qualified auto (#136394)
-rw-r--r--clang-tools-extra/clang-doc/Representation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-doc/Representation.cpp b/clang-tools-extra/clang-doc/Representation.cpp
index 0947ecf..54d2cb5 100644
--- a/clang-tools-extra/clang-doc/Representation.cpp
+++ b/clang-tools-extra/clang-doc/Representation.cpp
@@ -215,7 +215,7 @@ void SymbolInfo::merge(SymbolInfo &&Other) {
// Unconditionally extend the list of locations, since we want all of them.
std::move(Other.Loc.begin(), Other.Loc.end(), std::back_inserter(Loc));
llvm::sort(Loc);
- auto Last = std::unique(Loc.begin(), Loc.end());
+ auto *Last = std::unique(Loc.begin(), Loc.end());
Loc.erase(Last, Loc.end());
mergeBase(std::move(Other));
}