[PATCH] D157757: [Headers] Replace __need_STDDEF_H_misc with specific __need_ macros
Ian Anderson via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 11 14:43:39 PDT 2023
iana created this revision.
iana added reviewers: 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 subscribers: cfe-commits, wangpc.
Herald added a project: clang.
Apple needs __need_ macros for rsize_t and offsetof. Add those, and also ones for nullptr_t, unreachable, max_align_t.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D157757
Files:
clang/lib/Headers/stddef.h
clang/test/Headers/stddef.c
clang/test/Headers/stddefneeds.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157757.549521.patch
Type: text/x-patch
Size: 14330 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230811/e70052c9/attachment.bin>
More information about the cfe-commits
mailing list