We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59f0523 commit 6c74d80Copy full SHA for 6c74d80
clang-tools-extra/clangd/AST.cpp
@@ -973,7 +973,7 @@ resolveForwardingParameters(const FunctionDecl *D, unsigned MaxDepth) {
973
Parameters.drop_front(Head.size() + Pack.size());
974
SmallVector<const ParmVarDecl *> Result(Parameters.size());
975
// Fill in non-pack parameters
976
- auto HeadIt = std::copy(Head.begin(), Head.end(), Result.begin());
+ auto *HeadIt = std::copy(Head.begin(), Head.end(), Result.begin());
977
auto TailIt = std::copy(Tail.rbegin(), Tail.rend(), Result.rbegin());
978
// Recurse on pack parameters
979
size_t Depth = 0;
0 commit comments