[all-commits] [llvm/llvm-project] 6de4de: [libc] implement endian related macros (#126368)

c8ef via All-commits all-commits at lists.llvm.org
Tue Feb 11 18:17:31 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6de4de893188b1b548417c8073fa929d4befb16d
      https://github.com/llvm/llvm-project/commit/6de4de893188b1b548417c8073fa929d4befb16d
  Author: c8ef <c8ef at outlook.com>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

  Changed paths:
    M libc/include/llvm-libc-macros/CMakeLists.txt
    M libc/include/llvm-libc-macros/endian-macros.h

  Log Message:
  -----------
  [libc] implement endian related macros (#126368)

Follow up of #125168.

This patch adds endian-related macros to `endian.h`. We utilize compiler
built-ins for byte swap functions, which are already included in our
minimal supported compiler version.



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