================ @@ -636,6 +636,9 @@ bool Sema::SetupConstraintScope( ? FD->getInstantiatedFromMemberFunction() : FD->getInstantiatedFromDecl(); + if (!InstantiatedFrom) + return true; + ---------------- smanna12 wrote:
Thank you @zyn0217 for the reviews and clarification. Closing this as Not a defect. https://github.com/llvm/llvm-project/pull/97913 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits