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 | 5c40544fa40bfb85ec888b6a03421b3905e4a4e7 (patch) | |
tree | 8b0a6a3b1bfaba78898fd449618be40917b099f9 | |
parent | f57e6b037bc0b33d791008aafe7f6b34a77fcbc0 (diff) | |
download | clang-tools-extra-upstream-master.tar.gz |
Move endian constant from Host.h to SwapByteOrder.h, prune includeupstream-master
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/clang-tools-extra/trunk@375316 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | clangd/FileDistance.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clangd/FileDistance.h b/clangd/FileDistance.h index e7174bcc..88bb30c1 100644 --- a/clangd/FileDistance.h +++ b/clangd/FileDistance.h @@ -43,6 +43,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/DenseMapInfo.h" #include "llvm/ADT/SmallString.h" +#include "llvm/ADT/StringMap.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/Allocator.h" #include "llvm/Support/Path.h" |