[libc][NFC] Let var args be treated as a named type in the spec.
authorSiva Chandra Reddy <sivachandra@google.com>
Thu, 27 Jan 2022 16:59:08 +0000 (16:59 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Thu, 27 Jan 2022 17:07:21 +0000 (17:07 +0000)
commit07c9903a8bf755388362c43e1131e9f40c62b808
treee42e69e2c740e42f659cfbbdb403024201925598
parent36622c4e1a48cd02209524592abb9d929fff1e22
[libc][NFC] Let var args be treated as a named type in the spec.

The type names in the spec are just sugar used by the header generator to
generate the function prototype. Giving the VarArgType a name of "..."
allows the header generator to treat and generate the "type name" for var
arg parameters similar to how it does for any other type.
libc/spec/spec.td