[clang] [clang-tools-extra] clangd: Extend reference search with constructor calls through forwarding (PR #169742)
Nathan Ridge via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 19 00:49:37 PST 2025
HighCommander4 wrote:
I think we're getting memory corruption on this line:
```
std::move(Visitor.Constructors.begin(), Visitor.Constructors.end(),
std::back_inserter(Constructors));
```
`Visitor.Constructors` is a reference to the same object as `Constructors`, so we're modifying the vector as we're iterating it.
https://github.com/llvm/llvm-project/pull/169742
More information about the cfe-commits
mailing list