[clang] [clang-tools-extra] [llvm] [Clang] Add __type_list_dedup builtin to deduplicate types in template arguments (PR #106730)
Ilya Biryukov via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 13 06:09:11 PDT 2024
================
@@ -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.
----------------
ilya-biryukov wrote:
Thanks, I don't actually know why I didn't pick `type_pack` prefix in the first place. I think I was confused when I started and thought that `type_pack_element` was more different than it ended up being.
It's now `__builtin_type_pack_dedup`, as suggested.
https://github.com/llvm/llvm-project/pull/106730
More information about the cfe-commits
mailing list