Architecture.h - reduce includes to forward declarations. NFC.

Move includes to Architecture.cpp.
This commit is contained in:
Simon Pilgrim 2020-05-30 12:17:13 +01:00
parent f75e91fa13
commit a8eb06ccff
2 changed files with 8 additions and 3 deletions

View File

@ -13,11 +13,14 @@
#ifndef LLVM_TEXTAPI_MACHO_ARCHITECTURE_H
#define LLVM_TEXTAPI_MACHO_ARCHITECTURE_H
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Triple.h"
#include "llvm/Support/raw_ostream.h"
#include <cstdint>
#include <utility>
namespace llvm {
class raw_ostream;
class StringRef;
class Triple;
namespace MachO {
/// Defines the architecture slices that are supported by Text-based Stub files.

View File

@ -12,7 +12,9 @@
#include "llvm/TextAPI/MachO/Architecture.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/ADT/Triple.h"
#include "llvm/BinaryFormat/MachO.h"
#include "llvm/Support/raw_ostream.h"
namespace llvm {
namespace MachO {