================
@@ -3165,6 +3165,7 @@ ExpectedDecl ASTNodeImporter::VisitRecordDecl(RecordDecl 
*D) {
                 if (Error Err = ImportImplicitMethods(DCXX, FoundCXX))
                   return std::move(Err);
             }
+            return FoundDef;
----------------
Michael137 wrote:

So currently what happens is that we create a new decl and connect it to 
`FoundDef` on a redeclaration chain? LLDB is particularly sensitive to this 
particular code-path, so I'd say it's best to try do this in a separate PR so 
we can focus in on this

https://github.com/llvm/llvm-project/pull/118466
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to