XCOFF.h - replace StringRef.h include with forward declaration. NFC.

Move StringRef.h include to XCOFF.cpp
This commit is contained in:
Simon Pilgrim 2020-04-23 13:10:55 +01:00
parent 2f9fc8d971
commit 7c5fc40060
2 changed files with 3 additions and 1 deletions

View File

@ -13,10 +13,11 @@
#ifndef LLVM_BINARYFORMAT_XCOFF_H
#define LLVM_BINARYFORMAT_XCOFF_H
#include "llvm/ADT/StringRef.h"
#include <cstdint>
namespace llvm {
class StringRef;
namespace XCOFF {
// Constants used in the XCOFF definition.

View File

@ -7,6 +7,7 @@
//===----------------------------------------------------------------------===//
#include "llvm/BinaryFormat/XCOFF.h"
#include "llvm/ADT/StringRef.h"
using namespace llvm;