[clang] [Clang][NFC] Introduce a node to model concept and variable template template parameters (PR #216729)
Yanzuo Liu via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 17 09:51:56 PDT 2026
================
@@ -3488,6 +3460,98 @@ class UnresolvedLookupExpr final
}
};
+/// A template-id naming a variable template or a concept through a template
+/// template parameter.
+class DependentTemplateIdExpr final
+ : public Expr,
+ private llvm::TrailingObjects<DependentTemplateIdExpr,
+ TemplateArgumentLoc> {
+ friend class ASTStmtReader;
+ friend class ASTStmtWriter;
+ friend TrailingObjects;
+
+ NestedNameSpecifierLoc QualifierLoc;
----------------
zwuis wrote:
Can it be nonnull since this AST node refers to a template parameter?
https://github.com/llvm/llvm-project/pull/216729
More information about the cfe-commits
mailing list