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

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 9 12:08:50 PDT 2018


erichkeane added a comment.

In https://reviews.llvm.org/D45383#1062078, @efriedma wrote:

> > I believe it is permissible to implement va_copy and va_end as a function, isn't it?
>
> I guess you could, in theory, but LLVM doesn't support any targets which do that.


Ok, fair enough.  So is your guidance to identify these 7 builtins (4 builtins + 3 lib builtins) and disallow redeclaring? Or am I missing a more subtle solution here?


Repository:
  rC Clang

https://reviews.llvm.org/D45383





More information about the cfe-commits mailing list