[all-commits] [llvm/llvm-project] eee2f0: [libc++][modules] Get rid of <cstddef> dependency ...

Louis Dionne via All-commits all-commits at lists.llvm.org
Thu Sep 5 09:43:18 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eee2f02e4e28e54e5a38a1dbbd62ea6780909e16
      https://github.com/llvm/llvm-project/commit/eee2f02e4e28e54e5a38a1dbbd62ea6780909e16
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-09-05 (Thu, 05 Sep 2024)

  Changed paths:
    M libcxx/include/__type_traits/datasizeof.h

  Log Message:
  -----------
  [libc++][modules] Get rid of <cstddef> dependency in __datasizeof (#107394)

All the compilers we support also provide __builtin_offsetof, so avoid
using this macro and use the builtin directly instead. This allows
removing a dependency on `<cstddef>`, which is heavier than we need.



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