================ @@ -4034,6 +4034,12 @@ class Sema final : public SemaBase { void MergeTypedefNameDecl(Scope *S, TypedefNameDecl *New, LookupResult &OldDecls); + /// RetireNodesFromMergedDecl - We have just merged the decl 'New' by making + /// another definition visible. + /// This method performs any necessary cleanup on the parser state to discard + /// child nodes from newly parsed decl we are retiring. + void RetireNodesFromMergedDecl(Scope *S, Decl *New); ---------------- michael-jabbour-sonarsource wrote:
Thanks for the suggestion, done in f55ca2bdf0e0fabdc672f0f85007d091272a8891. https://github.com/llvm/llvm-project/pull/114240 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits