================ @@ -4264,7 +4264,8 @@ Sema::InstantiateClassMembers(SourceLocation PointOfInstantiation, if (FunctionDecl *Pattern = Function->getInstantiatedFromMemberFunction()) { - if (Function->isIneligibleOrNotSelected()) + if (!Instantiation->getDeclContext()->isDependentContext() && ---------------- erichkeane wrote:
Hmm... I don't think we want to go this far, right? We still would like to aggressively instantiate these so we get diagnostics/etc, even if it is in a dependent context. https://github.com/llvm/llvm-project/pull/134038 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits