[all-commits] [llvm/llvm-project] 07c990: [libc][NFC] Let var args be treated as a named typ...

Siva Chandra via All-commits all-commits at lists.llvm.org
Thu Jan 27 09:08:25 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 07c9903a8bf755388362c43e1131e9f40c62b808
      https://github.com/llvm/llvm-project/commit/07c9903a8bf755388362c43e1131e9f40c62b808
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2022-01-27 (Thu, 27 Jan 2022)

  Changed paths:
    M libc/spec/spec.td

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list