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
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.