================
@@ -11363,14 +11363,17 @@ class Sema final : public SemaBase {
/// The context in which we are checking a template parameter list.
enum TemplateParamListContext {
- TPC_ClassTemplate,
- TPC_VarTemplate,
+ // For this context, Class, Variable, TypeAlias, and non-pack Template
+ // Template
+ // Parameters are the same.
+ TPC_Normal,
----------------
cor3ntin wrote:
"Normal" doesn't make sense to me. I believe that we are better off just adding
`TPC_TemplateTemplateParameterPack` and keeping everything else the same (even
though _today_ these contexts are not differentiated anywhere)
https://github.com/llvm/llvm-project/pull/130447
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits