Skip to content

Commit

Permalink
[clangd] fix clang-tidy warning (llvm-qualified-auto) (#79617)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nour1248 committed Jan 26, 2024
1 parent 59f0523 commit 6c74d80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang-tools-extra/clangd/AST.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6c74d80

Please sign in to comment.