================ @@ -9304,7 +9299,8 @@ TemplateName ASTContext::getAssumedTemplateName(DeclarationName Name) const { TemplateName ASTContext::getQualifiedTemplateName(NestedNameSpecifier *NNS, bool TemplateKeyword, TemplateName Template) const { - assert(NNS && "Missing nested-name-specifier in qualified template name"); ---------------- ilya-biryukov wrote:
Does that mean we will start creating `QualifiedTemplateName` with a nullptr qualifier? That's a big change in contract and there is quite a bit of code that does not check for null when accessing this member. Could you explain a bit why we need this change? What are we trying to represent? Are there any alternative AST nodes we could use or even add? https://github.com/llvm/llvm-project/pull/93433 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits