================
@@ -643,6 +642,8 @@ bool Sema::CheckQualifiedMemberReference(Expr *BaseExpr,
continue;
CXXRecordDecl *MemberRecord = cast<CXXRecordDecl>(DC)->getCanonicalDecl();
+ if (!BaseRecord->hasDefinition() || !MemberRecord->hasDefinition())
+ return false;
----------------
Serosh-commits wrote:
> or have this user moved to after we do.
@mizvekov i have implemented this because the early represantaion was a bit
aggressive to some of tests were failing so implemented the second option and
removed that guard thanks
well i am still trying to implement the early representation locally if it
will work i can add up a follow up if u like that to do
https://github.com/llvm/llvm-project/pull/199403
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits