================
@@ -309,7 +309,10 @@ enum BuiltinTemplateKind : int {
   BTK__make_integer_seq,
 
   /// This names the __type_pack_element BuiltinTemplateDecl.
-  BTK__type_pack_element
+  BTK__type_pack_element,
+
+  /// This names the __type_list_dedup BuiltinTemplateDecl.
+  BTK__type_list_dedup,
----------------
ilya-biryukov wrote:

> Unless we think that builtin templates were a mistake, and we instead would 
> prefer to deprecate and eventually remove our support for builtin templates?

I certainly feel they are a useful tool to have and we should probably keep 
them.
I'm definitely very supportive of reducing the boilerplate.

On that front, @philnik777 do you feel like you digging out that local patch or 
should I take a stab at it?
In any case, I'd do this in a separate change. The boilerplate present in this 
commit is still very much manageable (and already done), so I don't think that 
blocking this PR on removing this boileerplate would be my first choice. 

https://github.com/llvm/llvm-project/pull/106730
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to