================ @@ -39,7 +39,8 @@ bool Sema::SetMemberAccessSpecifier(NamedDecl *MemberDecl, AccessSpecifier LexicalAS) { if (!PrevMemberDecl) { // Use the lexical access specifier. - MemberDecl->setAccess(LexicalAS); ---------------- shafik wrote:
Please also add more details to the summary, it is helpful to have some idea what you think the underlying problem is and why this fix is correct before reviewing. https://github.com/llvm/llvm-project/pull/112424 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits