================ @@ -7735,7 +7735,8 @@ ExprResult Sema::BuildResolvedCallExpr(Expr *Fn, NamedDecl *NDecl, } if (CXXMethodDecl *Method = dyn_cast_or_null<CXXMethodDecl>(FDecl)) - if (Method->isImplicitObjectMemberFunction()) + if (!isa<RequiresExprBodyDecl>(CurContext) && ---------------- erichkeane wrote:
I guess I don't see how 'implicit object member function' is what we want there? It seems what we really want is 'in the context of a requires clause', right? https://github.com/llvm/llvm-project/pull/85198 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits