================ @@ -798,6 +798,17 @@ void ASTDeclWriter::VisitFunctionDecl(FunctionDecl *D) { } } + if (D->getFriendObjectKind()) { ---------------- hokein wrote:
As stated in https://github.com/llvm/llvm-project/issues/122493#issuecomment-2602473058, this is intended. It would be helpful to include comments explaining why this logic is applied exclusively to friend objects. https://github.com/llvm/llvm-project/pull/111992 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits