aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Zolotukhin <mzolotukhin@apple.com>2017-12-13 21:30:55 +0000
committerMichael Zolotukhin <mzolotukhin@apple.com>2017-12-13 21:30:55 +0000
commit3b31d051ff462d7a92f4976eb3ed1d055f2f17a7 (patch)
tree98426bc16f5cc4d509b0fbdca3f7b5add9a77bb2
parentac904a2343931bdfbdb71fb5bd889c74326f5465 (diff)
Remove redundant includes from lib/Object.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320625 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Object/COFFImportFile.cpp2
-rw-r--r--lib/Object/IRObjectFile.cpp10
-rw-r--r--lib/Object/WindowsResource.cpp1
3 files changed, 0 insertions, 13 deletions
diff --git a/lib/Object/COFFImportFile.cpp b/lib/Object/COFFImportFile.cpp
index acac1e6d56a..d0fed74629d 100644
--- a/lib/Object/COFFImportFile.cpp
+++ b/lib/Object/COFFImportFile.cpp
@@ -20,8 +20,6 @@
#include "llvm/Support/Path.h"
#include <cstdint>
-#include <map>
-#include <set>
#include <string>
#include <vector>
diff --git a/lib/Object/IRObjectFile.cpp b/lib/Object/IRObjectFile.cpp
index ed6d6b1cb4e..1ecb26d60bc 100644
--- a/lib/Object/IRObjectFile.cpp
+++ b/lib/Object/IRObjectFile.cpp
@@ -12,7 +12,6 @@
//===----------------------------------------------------------------------===//
#include "llvm/Object/IRObjectFile.h"
-#include "RecordStreamer.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/BinaryFormat/Magic.h"
#include "llvm/Bitcode/BitcodeReader.h"
@@ -20,17 +19,8 @@
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Mangler.h"
#include "llvm/IR/Module.h"
-#include "llvm/MC/MCAsmInfo.h"
-#include "llvm/MC/MCContext.h"
-#include "llvm/MC/MCInstrInfo.h"
-#include "llvm/MC/MCObjectFileInfo.h"
-#include "llvm/MC/MCParser/MCAsmParser.h"
-#include "llvm/MC/MCParser/MCTargetAsmParser.h"
-#include "llvm/MC/MCRegisterInfo.h"
-#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/Object/ObjectFile.h"
#include "llvm/Support/MemoryBuffer.h"
-#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Support/raw_ostream.h"
using namespace llvm;
diff --git a/lib/Object/WindowsResource.cpp b/lib/Object/WindowsResource.cpp
index b844955caa8..9ca584a4a1a 100644
--- a/lib/Object/WindowsResource.cpp
+++ b/lib/Object/WindowsResource.cpp
@@ -17,7 +17,6 @@
#include "llvm/Support/MathExtras.h"
#include <ctime>
#include <queue>
-#include <sstream>
#include <system_error>
using namespace llvm;