1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

[ARM] Fix some Include What You Use warnings; other minor fixes (NFC).

This is preparation to reduce MC headers dependencies.

llvm-svn: 294525
This commit is contained in:
Eugene Zelenko 2017-02-08 22:19:56 +00:00
parent 2e65830630
commit 65bf7665bd

View File

@ -1,4 +1,4 @@
//===-- ARMMachORelocationInfo.cpp ----------------------------------------===//
//===- ARMMachORelocationInfo.cpp -----------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
@ -7,17 +7,17 @@
//
//===----------------------------------------------------------------------===//
#include "MCTargetDesc/ARMMCTargetDesc.h"
#include "ARMMCExpr.h"
#include "llvm-c/Disassembler.h"
#include "MCTargetDesc/ARMMCTargetDesc.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCDisassembler/MCRelocationInfo.h"
#include "llvm/MC/MCExpr.h"
#include "llvm-c/Disassembler.h"
using namespace llvm;
using namespace object;
namespace {
class ARMMachORelocationInfo : public MCRelocationInfo {
public:
ARMMachORelocationInfo(MCContext &Ctx) : MCRelocationInfo(Ctx) {}
@ -35,7 +35,8 @@ public:
}
}
};
} // End unnamed namespace
} // end anonymous namespace
/// createARMMachORelocationInfo - Construct an ARM Mach-O RelocationInfo.
MCRelocationInfo *llvm::createARMMachORelocationInfo(MCContext &Ctx) {