[clang-tools-extra] e27aa12 - [clang-doc][NFC] Use qualified auto (#136394)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 18 23:34:06 PDT 2025
Author: Paul Kirth
Date: 2025-04-18T23:34:03-07:00
New Revision: e27aa12d47468e4717622a230bb560490b66c3e7
URL: https://github.com/llvm/llvm-project/commit/e27aa12d47468e4717622a230bb560490b66c3e7
DIFF: https://github.com/llvm/llvm-project/commit/e27aa12d47468e4717622a230bb560490b66c3e7.diff
LOG: [clang-doc][NFC] Use qualified auto (#136394)
Added:
Modified:
clang-tools-extra/clang-doc/Representation.cpp
Removed:
################################################################################
diff --git a/clang-tools-extra/clang-doc/Representation.cpp b/clang-tools-extra/clang-doc/Representation.cpp
index 0947ecff72272..54d2cb58ea2d9 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));
}
More information about the cfe-commits
mailing list