[all-commits] [llvm/llvm-project] 72da67: [Headers] Replace __need_STDDEF_H_misc with specif...

Ian Anderson via All-commits all-commits at lists.llvm.org
Wed Aug 23 23:56:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 72da678d8c84c2cc442940a026ca50d0bb5c2b8e
      https://github.com/llvm/llvm-project/commit/72da678d8c84c2cc442940a026ca50d0bb5c2b8e
  Author: Ian Anderson <iana at apple.com>
  Date:   2023-08-23 (Wed, 23 Aug 2023)

  Changed paths:
    M clang/lib/Headers/stddef.h
    A clang/test/Headers/stddef.c
    A clang/test/Headers/stddefneeds.c

  Log Message:
  -----------
  [Headers] Replace __need_STDDEF_H_misc with specific __need_ macros

Apple needs __need_ macros for rsize_t and offsetof. Add those, and also ones for nullptr_t, unreachable, max_align_t.

Reviewed By: aaron.ballman, efriedma, #libc, ldionne

Differential Revision: https://reviews.llvm.org/D157757




More information about the All-commits mailing list