================
@@ -2107,6 +2107,8 @@ void ASTDeclMerger::MergeDefinitionData(
auto *Def = DD.Definition;
DD = std::move(MergeDD);
DD.Definition = Def;
+ for (auto *TD : Def->redecls())
----------------
mizvekov wrote:
There's no such a thing as `noload_redecls`, you may be confusing that with
DeclContext::noload_decls, but that's only for declarations in a context, not
redeclarations.
We could instead just iterate over the previous decls, that should work as well.
https://github.com/llvm/llvm-project/pull/157019
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits