]> granicus.if.org Git - llvm/commit
Move endian constant from Host.h to SwapByteOrder.h, prune include
authorReid Kleckner <rnk@google.com>
Sat, 19 Oct 2019 00:48:11 +0000 (00:48 +0000)
committerReid Kleckner <rnk@google.com>
Sat, 19 Oct 2019 00:48:11 +0000 (00:48 +0000)
commitd4448b8ece0f4a840e8a18d8343433fbf51c527f
tree864abd9ffa52bb7910649f131457d4e68b1018d3
parentccf0b77ef9fafb3a928f24e461b9c54a6a44ad20
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375316 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/Hashing.h
include/llvm/BinaryFormat/Wasm.h
include/llvm/Support/Host.h
include/llvm/Support/SHA1.h
include/llvm/Support/SwapByteOrder.h
lib/ExecutionEngine/Orc/JITTargetMachineBuilder.cpp
lib/Support/Windows/WindowsSupport.h
lib/Target/X86/Disassembler/X86DisassemblerDecoder.cpp
tools/llvm-exegesis/lib/RegisterValue.cpp