iana added a comment.

In D157793#4583663 <https://reviews.llvm.org/D157793#4583663>, @MaskRay wrote:

>> Apple needs a __need_ macro for va_list. Add one, and also ones for 
>> va_start/va_arg/va_end, __va_copy, va_copy.
>
> Do you have a link to the specification or the source that this is needed?

We need is so that our <sys/_types/_va_list.h> doesn't have to redeclare 
va_list and doesn't pull in all of stdarg.h either. As far as I know there's no 
specification for this (or stddef.h) being include-able in pieces.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157793/new/

https://reviews.llvm.org/D157793

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to