HomePhabricator

Move endian constant from Host.h to SwapByteOrder.h, prune include
Audit RequiredrL375316

Description

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.

Details

Auditors
Bigcheese
Committed
rnkOct 18 2019, 5:48 PM
Parents
rL375315: [profile] Disable instrprof-get-filename-merge-mode.c on Windows
Branches
Unknown
Tags
Unknown