mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Magic.h - reduce includes to forward declarations. NFC.
This commit is contained in:
parent
34262b7f8b
commit
c7c985802b
@ -9,12 +9,12 @@
|
||||
#ifndef LLVM_BINARYFORMAT_MAGIC_H
|
||||
#define LLVM_BINARYFORMAT_MAGIC_H
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/ADT/Twine.h"
|
||||
|
||||
#include <system_error>
|
||||
|
||||
namespace llvm {
|
||||
class StringRef;
|
||||
class Twine;
|
||||
|
||||
/// file_magic - An "enum class" enumeration of file types based on magic (the
|
||||
/// first N bytes of the file).
|
||||
struct file_magic {
|
||||
|
@ -7,7 +7,8 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/BinaryFormat/Magic.h"
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/ADT/Twine.h"
|
||||
#include "llvm/BinaryFormat/COFF.h"
|
||||
#include "llvm/BinaryFormat/ELF.h"
|
||||
#include "llvm/BinaryFormat/MachO.h"
|
||||
|
Loading…
Reference in New Issue
Block a user