[libcxx-commits] [clang] [libcxx] [Clang] Add __builtin_common_reference (PR #121199)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Nov 27 07:20:35 PST 2025
================
@@ -10,11 +10,11 @@ class TemplateArg<string name> {
string Name = name;
}
-class Template<list<TemplateArg> args, string name> : TemplateArg<name> {
+class Template<list<TemplateArg> args, string name = ""> : TemplateArg<name> {
list<TemplateArg> Args = args;
}
-class Class<string name, bit is_variadic = 0> : TemplateArg<name> {
+class Class<string name = "", bit is_variadic = 0> : TemplateArg<name> {
----------------
philnik777 wrote:
Currently the names are purely cosmetic in nature except when you have NTTPs which rely on a previous type, so I'm not too worried if someone forgets. I wanted to auto-generate docs with this at some point, but I didn't get to it yet.
https://github.com/llvm/llvm-project/pull/121199
More information about the libcxx-commits
mailing list