[clang] Fix assertion failure during conversion function overload resolution. (PR #98671)
Daniel M. Katz via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 19 15:12:22 PDT 2024
================
@@ -1519,7 +1519,8 @@ bool Sema::IsAtLeastAsConstrained(NamedDecl *D1,
auto IsExpectedEntity = [](const FunctionDecl *FD) {
FunctionDecl::TemplatedKind Kind = FD->getTemplatedKind();
return Kind == FunctionDecl::TK_NonTemplate ||
- Kind == FunctionDecl::TK_FunctionTemplate;
----------------
katzdm wrote:
Actually, there might be some deeper issues; will follow up off-thread.
https://github.com/llvm/llvm-project/pull/98671
More information about the cfe-commits
mailing list