[all-commits] [llvm/llvm-project] 90c64a: Move endian constant from Host.h to SwapByteOrder....

Reid Kleckner via All-commits all-commits at lists.llvm.org
Fri Oct 18 17:47:09 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 90c64a3456b972432a21ef043b205c18a91e011b
      https://github.com/llvm/llvm-project/commit/90c64a3456b972432a21ef043b205c18a91e011b
  Author: Reid Kleckner <rnk at google.com>
  Date:   2019-10-19 (Sat, 19 Oct 2019)

  Changed paths:
    M clang-tools-extra/clangd/FileDistance.h
    M clang/lib/Driver/ToolChains/Arch/AArch64.cpp
    M clang/lib/Driver/ToolChains/Arch/ARM.cpp
    M clang/lib/Driver/ToolChains/Arch/PPC.cpp
    M clang/lib/Driver/ToolChains/Arch/X86.cpp
    M lld/include/lld/Common/LLVM.h
    M lld/include/lld/Core/File.h
    M lld/lib/ReaderWriter/MachO/DebugInfo.h
    M lld/tools/lld/lld.cpp
    M lldb/include/lldb/Utility/UUID.h
    M llvm/include/llvm/ADT/Hashing.h
    M llvm/include/llvm/BinaryFormat/Wasm.h
    M llvm/include/llvm/Support/Host.h
    M llvm/include/llvm/Support/SHA1.h
    M llvm/include/llvm/Support/SwapByteOrder.h
    M llvm/lib/ExecutionEngine/Orc/JITTargetMachineBuilder.cpp
    M llvm/lib/Support/Windows/WindowsSupport.h
    M llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.cpp
    M llvm/tools/llvm-exegesis/lib/RegisterValue.cpp

  Log Message:
  -----------
  Move endian constant from Host.h to SwapByteOrder.h, prune include

Works on this dependency chain:
  ArrayRef.h ->
  Hashing.h -> --CUT--
  Host.h ->
  StringMap.h / StringRef.h

ArrayRef is very popular, but Host.h is rarely needed. Move the
IsBigEndianHost constant to SwapByteOrder.h. Clients of that header are
more likely to need it.

llvm-svn: 375316




More information about the All-commits mailing list