[PATCH] D157793: [Headers] Add missing __need_ macros to stdarg.h

Ian Anderson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 12 11:21:22 PDT 2023


iana created this revision.
iana added reviewers: zatrazz, jfb, MaskRay, eli.friedman, aaron.ballman, rsmith, steplong, efriedma, jyknight, erichkeane.
Herald added a subscriber: ributzka.
Herald added a project: All.
iana requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Apple needs a __need_ macro for va_list. Add one, and also ones for va_start/va_arg/va_end, __va_copy, va_copy.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157793

Files:
  clang/lib/Headers/stdarg.h
  clang/test/Headers/stdarg.c
  clang/test/Headers/stdargneeds.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157793.549637.patch
Type: text/x-patch
Size: 9718 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230812/83f393d6/attachment-0001.bin>


More information about the cfe-commits mailing list