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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits