diff options
author | Zachary Turner <zturner@google.com> | 2017-11-17 01:00:35 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-11-17 01:00:35 +0000 |
commit | bd159d32c43732a65a943333d04f46e5d30fb9c5 (patch) | |
tree | 67a67c1d8eef3f5cbf3758b1555741093b084059 /llvm/tools | |
parent | 065421f0cc24c574970d5b4c875247cd035db324 (diff) | |
download | bcm5719-llvm-bd159d32c43732a65a943333d04f46e5d30fb9c5.tar.gz bcm5719-llvm-bd159d32c43732a65a943333d04f46e5d30fb9c5.zip |
Don't #include MemoryBuffer.h from Host.h.
It turns out this #include isn't used from Host.h anyway,
but by having it it causes circular include dependencies.
This issues only surfaced while I was working on a separate
patch, so I'm submitting this first so that it's independent
of the other, unrelated patch.
llvm-svn: 318489
Diffstat (limited to 'llvm/tools')
-rw-r--r-- | llvm/tools/llvm-mt/llvm-mt.cpp | 1 | ||||
-rw-r--r-- | llvm/tools/llvm-rc/ResourceFileWriter.cpp | 1 | ||||
-rw-r--r-- | llvm/tools/llvm-rc/ResourceFileWriter.h | 3 | ||||
-rw-r--r-- | llvm/tools/llvm-rc/llvm-rc.cpp | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/llvm/tools/llvm-mt/llvm-mt.cpp b/llvm/tools/llvm-mt/llvm-mt.cpp index 23cedb056a6..944af22cf9c 100644 --- a/llvm/tools/llvm-mt/llvm-mt.cpp +++ b/llvm/tools/llvm-mt/llvm-mt.cpp @@ -18,6 +18,7 @@ #include "llvm/Support/Error.h" #include "llvm/Support/FileOutputBuffer.h" #include "llvm/Support/ManagedStatic.h" +#include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/Path.h" #include "llvm/Support/PrettyStackTrace.h" #include "llvm/Support/Process.h" diff --git a/llvm/tools/llvm-rc/ResourceFileWriter.cpp b/llvm/tools/llvm-rc/ResourceFileWriter.cpp index 85c5217f99f..f141dc7e356 100644 --- a/llvm/tools/llvm-rc/ResourceFileWriter.cpp +++ b/llvm/tools/llvm-rc/ResourceFileWriter.cpp @@ -17,6 +17,7 @@ #include "llvm/Support/ConvertUTF.h" #include "llvm/Support/Endian.h" #include "llvm/Support/EndianStream.h" +#include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/Path.h" #include "llvm/Support/Process.h" diff --git a/llvm/tools/llvm-rc/ResourceFileWriter.h b/llvm/tools/llvm-rc/ResourceFileWriter.h index b06b8cf8a6f..20bd4bd7367 100644 --- a/llvm/tools/llvm-rc/ResourceFileWriter.h +++ b/llvm/tools/llvm-rc/ResourceFileWriter.h @@ -20,6 +20,9 @@ #include "llvm/Support/Endian.h" namespace llvm { + +class MemoryBuffer; + namespace rc { struct SearchParams { diff --git a/llvm/tools/llvm-rc/llvm-rc.cpp b/llvm/tools/llvm-rc/llvm-rc.cpp index f82a0dbe0e3..2fab3440e1c 100644 --- a/llvm/tools/llvm-rc/llvm-rc.cpp +++ b/llvm/tools/llvm-rc/llvm-rc.cpp @@ -22,6 +22,7 @@ #include "llvm/Support/Error.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/ManagedStatic.h" +#include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/PrettyStackTrace.h" #include "llvm/Support/Process.h" #include "llvm/Support/Signals.h" |