~pali/llvm/clang-tools-extra-trunk

Viewing all changes in revision 5261.

  • Committer: rnk
  • Date: 2019-10-19 00:48:11 UTC
  • Revision ID: svn-v4:91177308-0d34-0410-b5e6-96231b3b80d8:clang-tools-extra/trunk:375316
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: