================
@@ -2107,6 +2107,8 @@ void ASTDeclMerger::MergeDefinitionData(
auto *Def = DD.Definition;
DD = std::move(MergeDD);
DD.Definition = Def;
+ for (auto *TD : Def->redecls())
----------------
ChuanqiXu9 wrote:Oh, I misremembered it. It'll be good to add a such API. https://github.com/llvm/llvm-project/pull/157019 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
