HomePhabricator

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

Authored by rnk on Fri, Oct 18, 5:48 PM.

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.

llvm-svn: 375316

Details

Committed
rnkFri, Oct 18, 5:48 PM
Parents
rGf6a46304174e: [profile] Disable instrprof-get-filename-merge-mode.c on Windows
Branches
Unknown
Tags
Unknown