================ @@ -39,7 +39,8 @@ bool Sema::SetMemberAccessSpecifier(NamedDecl *MemberDecl, AccessSpecifier LexicalAS) { if (!PrevMemberDecl) { // Use the lexical access specifier. - MemberDecl->setAccess(LexicalAS); ---------------- a-tarasyuk wrote:
@shafik thanks for the feedback. I've checked, and it seems safe to omit `Name` here, so I’ve removed it. 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