summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-rc/ResourceFileWriter.h
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-11-17 01:00:35 +0000
committerZachary Turner <zturner@google.com>2017-11-17 01:00:35 +0000
commitbd159d32c43732a65a943333d04f46e5d30fb9c5 (patch)
tree67a67c1d8eef3f5cbf3758b1555741093b084059 /llvm/tools/llvm-rc/ResourceFileWriter.h
parent065421f0cc24c574970d5b4c875247cd035db324 (diff)
downloadbcm5719-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/llvm-rc/ResourceFileWriter.h')
-rw-r--r--llvm/tools/llvm-rc/ResourceFileWriter.h3
1 files changed, 3 insertions, 0 deletions
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 {
OpenPOWER on IntegriCloud