llvm.org GIT mirror llvm / e847ec4
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318489 91177308-0d34-0410-b5e6-96231b3b80d8 Zachary Turner 1 year, 8 months ago
11 changed file(s) with 12 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1616 #include "llvm/ADT/ArrayRef.h"
1717 #include "llvm/ADT/SmallString.h"
1818 #include "llvm/ADT/StringRef.h"
19 #include "llvm/ADT/Twine.h"
1920 #include
2021 #include
2122 #include
2121 #include "llvm/Support/Error.h"
2222
2323 namespace llvm {
24 class MemoryBuffer;
2425 namespace pdb {
2526 class PDBFile;
2627
1616 #include "llvm/ADT/ilist_node.h"
1717 #include "llvm/MC/MCFixup.h"
1818 #include "llvm/MC/MCInst.h"
19 #include "llvm/Support/Casting.h"
1920 #include "llvm/Support/SMLoc.h"
2021 #include
2122 #include
1616
1717 namespace llvm {
1818 class LLVMContext;
19 class MemoryBuffer;
1920
2021 class CodeGenCoverage {
2122 protected:
1414 #define LLVM_SUPPORT_HOST_H
1515
1616 #include "llvm/ADT/StringMap.h"
17 #include "llvm/Support/MemoryBuffer.h"
1817
1918 #if defined(__linux__) || defined(__GNU__) || defined(__HAIKU__)
2019 #include
1515 #endif
1616 #include "llvm/DebugInfo/PDB/Native/NativeSession.h"
1717 #include "llvm/Support/Error.h"
18 #include "llvm/Support/MemoryBuffer.h"
1819
1920 using namespace llvm;
2021 using namespace llvm::pdb;
1313
1414 #include "llvm/Support/Endian.h"
1515 #include "llvm/Support/FileSystem.h"
16 #include "llvm/Support/MemoryBuffer.h"
1617 #include "llvm/Support/Mutex.h"
1718 #include "llvm/Support/ScopedPrinter.h"
1819 #include "llvm/Support/ToolOutputFile.h"
1717 #include "llvm/Support/Error.h"
1818 #include "llvm/Support/FileOutputBuffer.h"
1919 #include "llvm/Support/ManagedStatic.h"
20 #include "llvm/Support/MemoryBuffer.h"
2021 #include "llvm/Support/Path.h"
2122 #include "llvm/Support/PrettyStackTrace.h"
2223 #include "llvm/Support/Process.h"
1616 #include "llvm/Support/ConvertUTF.h"
1717 #include "llvm/Support/Endian.h"
1818 #include "llvm/Support/EndianStream.h"
19 #include "llvm/Support/MemoryBuffer.h"
1920 #include "llvm/Support/Path.h"
2021 #include "llvm/Support/Process.h"
2122
1919 #include "llvm/Support/Endian.h"
2020
2121 namespace llvm {
22
23 class MemoryBuffer;
24
2225 namespace rc {
2326
2427 struct SearchParams {
2121 #include "llvm/Support/Error.h"
2222 #include "llvm/Support/FileSystem.h"
2323 #include "llvm/Support/ManagedStatic.h"
24 #include "llvm/Support/MemoryBuffer.h"
2425 #include "llvm/Support/PrettyStackTrace.h"
2526 #include "llvm/Support/Process.h"
2627 #include "llvm/Support/Signals.h"