[PATCH] D45383: Strip reference from a va_list object in C when merging parameter types.

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 9 08:51:53 PDT 2018


efriedma added a comment.

Identical to what?  `__builtin_va_start` and `__builtin_va_end` specifically are weird because they're builtins which have a signature which can't be expressed in C.  vprintf doesn't have that problem.

Builtins.def makes the relevant distinction already: a "BUILTIN" is a reserved identifier the user isn't allowed to redeclare, and a "LIBBUILTIN" is a library function which the compiler has special knowledge of.


Repository:
  rC Clang

https://reviews.llvm.org/D45383





More information about the cfe-commits mailing list