[all-commits] [llvm/llvm-project] 0a9772: [libc++] Assume that __BYTE_ORDER__ is always present

philnik777 via All-commits all-commits at lists.llvm.org
Fri Sep 1 09:12:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a97720d0197e60a10c93f8af7d24e5f6d6a9807
      https://github.com/llvm/llvm-project/commit/0a97720d0197e60a10c93f8af7d24e5f6d6a9807
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2023-09-01 (Fri, 01 Sep 2023)

  Changed paths:
    M libcxx/include/__config

  Log Message:
  -----------
  [libc++] Assume that __BYTE_ORDER__ is always present

Both Clang and GCC always define __BYTE_ORDER__, so there is no need to test the byte order a million different ways.

Reviewed By: #libc, ldionne

Spies: ldionne, libcxx-commits, krytarowski

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




More information about the All-commits mailing list