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)); } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits