mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
ObjectFile.h - reduce unnecessary includes to forward declarations. NFC.
Fix SubtargetFeature.h include dependency in XCOFFObjectFile.cpp
This commit is contained in:
parent
c69a582376
commit
86bee611f2
@ -18,13 +18,11 @@
|
||||
#include "llvm/ADT/Triple.h"
|
||||
#include "llvm/ADT/iterator_range.h"
|
||||
#include "llvm/BinaryFormat/Magic.h"
|
||||
#include "llvm/MC/SubtargetFeature.h"
|
||||
#include "llvm/Object/Binary.h"
|
||||
#include "llvm/Object/Error.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>
|
||||
@ -34,6 +32,7 @@
|
||||
namespace llvm {
|
||||
|
||||
class ARMAttributeParser;
|
||||
class SubtargetFeatures;
|
||||
|
||||
namespace object {
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Object/XCOFFObjectFile.h"
|
||||
#include "llvm/MC/SubtargetFeature.h"
|
||||
#include <cstddef>
|
||||
#include <cstring>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user