================ @@ -346,6 +351,11 @@ MultiLevelTemplateArgumentList Sema::getTemplateInstantiationArgs( CurDecl = Response::UseNextDecl(ND).NextDecl; } + if (!ND) { + assert(DC); ---------------- erichkeane wrote:
Probably not necessary, I'll remove it. I think I added that top assert later on. https://github.com/llvm/llvm-project/pull/69244 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits