]> granicus.if.org Git - llvm/commitdiff
[Object][XCOFF] Remove extra includes from XCOFF related files. [NFC]
authorSean Fertile <sfertile@ca.ibm.com>
Mon, 22 Jul 2019 18:47:55 +0000 (18:47 +0000)
committerSean Fertile <sfertile@ca.ibm.com>
Mon, 22 Jul 2019 18:47:55 +0000 (18:47 +0000)
Differential Revision: https://reviews.llvm.org/D60885

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366723 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Object/XCOFFObjectFile.h
lib/Object/XCOFFObjectFile.cpp

index cdee7129a2abd7f19f5c837d5c50241a4f921cd5..17bb907ac16f0ff7d611d8e22ffa10c40a0e0530 100644 (file)
 #ifndef LLVM_OBJECT_XCOFFOBJECTFILE_H
 #define LLVM_OBJECT_XCOFFOBJECTFILE_H
 
-#include "llvm/ADT/StringRef.h"
-#include "llvm/ADT/iterator_range.h"
-#include "llvm/BinaryFormat/Magic.h"
 #include "llvm/BinaryFormat/XCOFF.h"
-#include "llvm/MC/SubtargetFeature.h"
-#include "llvm/Object/Binary.h"
-#include "llvm/Object/Error.h"
 #include "llvm/Object/ObjectFile.h"
-#include "llvm/Object/SymbolicFile.h"
-#include "llvm/Support/Casting.h"
-#include "llvm/Support/Error.h"
-#include "llvm/Support/FileSystem.h"
-#include "llvm/Support/MemoryBuffer.h"
-#include <cassert>
-#include <cstdint>
-#include <memory>
-#include <system_error>
 
 namespace llvm {
 namespace object {
index 602b7357986acad897292fa7aa0a36d0e6dcc149..960b7695110b24fed5f6d55288b489d8b32c7039 100644 (file)
 //===----------------------------------------------------------------------===//
 
 #include "llvm/Object/XCOFFObjectFile.h"
-#include "llvm/ADT/ArrayRef.h"
-#include "llvm/Support/BinaryStreamReader.h"
-#include "llvm/Support/Endian.h"
-#include "llvm/Support/ErrorHandling.h"
-#include "llvm/Support/MathExtras.h"
 #include <cstddef>
 #include <cstring>