[all-commits] [llvm/llvm-project] 295028: [libc++] Simplify the implementation of <stddef.h>...

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Apr 2 05:14:27 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2950283dddab03c183c1be2d7de9d4999cc86131
      https://github.com/llvm/llvm-project/commit/2950283dddab03c183c1be2d7de9d4999cc86131
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-04-02 (Tue, 02 Apr 2024)

  Changed paths:
    M libcxx/include/stddef.h

  Log Message:
  -----------
  [libc++] Simplify the implementation of <stddef.h> (#86843)

Libc++'s own <stddef.h> is complicated by the need to handle various
platform-specific macros and to support duplicate inclusion. In reality,
we only need to add a declaration of nullptr_t to it, so we can simply
include the underlying <stddef.h> outside of our guards to let it handle
re-inclusion itself.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list