================
@@ -5613,6 +5613,8 @@ bool Sema::CheckTemplateArgument(NamedDecl *Param,
TemplateArgumentLoc &ArgLoc,
// parameter of type decltype(auto) ([temp.func.order]), the declaration
// is ill-formed.
auto isUndeducedAuto = [](QualType T, bool DecltypeAuto) {
+ if (T.isNull())
+ return false;
----------------
cor3ntin wrote:
And then we should not need that
https://github.com/llvm/llvm-project/pull/231599
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits