[PATCH] D122460: [clang] fixed bug #54406

2022-03-27 Thread Randy via Phabricator via cfe-commits
randyli planned changes to this revision. randyli added inline comments. Comment at: clang/lib/Sema/SemaExprMember.cpp:690 +// int n = a.B::m; +if (BaseExpr && isa(DC) && isa(RDecl)) { + CXXRecordDecl *SRecord = cast(DC)->getCanonicalDecl(); rjmccall

[PATCH] D122460: [clang] fixed bug #54406

2022-03-24 Thread Randy via Phabricator via cfe-commits
randyli created this revision. randyli added reviewers: doug.gregor, rjmccall, rsmith, dblaikie, tigerleapgorge. Herald added a project: All. randyli requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. try to fix bug #54406 Per [class.access.