diff options
author | Reid Kleckner <rnk@google.com> | 2019-10-19 00:48:11 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2019-10-19 00:48:11 +0000 |
commit | c10037436a786d82c1de9d06c62fb677f2352cca (patch) | |
tree | f1a5b506f255e7b42eb86be2afdd977810bb46e4 | |
parent | 5b437d22df29788beb2c5031b3172cbacb823ae2 (diff) |
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/lldb/trunk@375316 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/lldb/Utility/UUID.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/lldb/Utility/UUID.h b/include/lldb/Utility/UUID.h index cb2e051a4..0284357be 100644 --- a/include/lldb/Utility/UUID.h +++ b/include/lldb/Utility/UUID.h @@ -9,14 +9,11 @@ #ifndef LLDB_UTILITY_UUID_H #define LLDB_UTILITY_UUID_H +#include "llvm/ADT/ArrayRef.h" +#include "llvm/ADT/StringRef.h" #include <stddef.h> #include <stdint.h> #include <string> -#include "llvm/ADT/ArrayRef.h" - -namespace llvm { - class StringRef; -} namespace lldb_private { |