[all-commits] [llvm/llvm-project] 5acc4a: [libc++] Remove <stddef.h> includes from the granu...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Wed Nov 6 01:38:41 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5acc4a3dc0e2145d2bfef47f1543bb291c2b866a
      https://github.com/llvm/llvm-project/commit/5acc4a3dc0e2145d2bfef47f1543bb291c2b866a
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-11-06 (Wed, 06 Nov 2024)

  Changed paths:
    M libcxx/include/__cstddef/nullptr_t.h
    M libcxx/include/__cstddef/ptrdiff_t.h
    M libcxx/include/__cstddef/size_t.h
    M libcxx/include/__exception/exception_ptr.h
    M libcxx/include/__functional/function.h
    M libcxx/include/__functional/hash.h
    M libcxx/include/__memory/shared_ptr.h
    M libcxx/include/forward_list
    M libcxx/include/new
    M libcxx/include/string_view
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cmp/cmp_nullptr.pass.cpp
    M libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.special/cmp_nullptr.pass.cpp

  Log Message:
  -----------
  [libc++] Remove <stddef.h> includes from the granularized <cstddef> headers (#114788)

We can define some of these aliases without having to include the system
<stddef.h> and there doesn't seem to be much of a reason we shouldn't do
it this way.



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