llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang-tools-extra Author: None (Nour1248) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/79617.diff 1 Files Affected: - (modified) clang-tools-extra/clangd/AST.cpp (+1-1) ``````````diff diff --git a/clang-tools-extra/clangd/AST.cpp b/clang-tools-extra/clangd/AST.cpp index 3e374cf2a89764e..1b86ea19cf28daa 100644 --- a/clang-tools-extra/clangd/AST.cpp +++ b/clang-tools-extra/clangd/AST.cpp @@ -973,7 +973,7 @@ resolveForwardingParameters(const FunctionDecl *D, unsigned MaxDepth) { Parameters.drop_front(Head.size() + Pack.size()); SmallVector<const ParmVarDecl *> Result(Parameters.size()); // Fill in non-pack parameters - auto HeadIt = std::copy(Head.begin(), Head.end(), Result.begin()); + auto *HeadIt = std::copy(Head.begin(), Head.end(), Result.begin()); auto TailIt = std::copy(Tail.rbegin(), Tail.rend(), Result.rbegin()); // Recurse on pack parameters size_t Depth = 0; `````````` </details> https://github.com/llvm/llvm-project/pull/79617 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits