summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2015-12-25 22:10:01 +0000
committerCraig Topper <craig.topper@gmail.com>2015-12-25 22:10:01 +0000
commitdaf2e3ff7a1308753aed42975f914804c22d04d8 (patch)
tree080e99e6a45258db6c3c4eaadd46b269954a858a /llvm/lib/Target/AArch64
parentc7277d9485d88ea7aa5f90e8167e2b706ae74fa1 (diff)
downloadbcm5719-llvm-daf2e3ff7a1308753aed42975f914804c22d04d8.tar.gz
bcm5719-llvm-daf2e3ff7a1308753aed42975f914804c22d04d8.zip
Remove extra forward declarations and scrub includes for all in tree InstPrinters. NFC
llvm-svn: 256427
Diffstat (limited to 'llvm/lib/Target/AArch64')
-rw-r--r--llvm/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp1
-rw-r--r--llvm/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.h4
2 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp b/llvm/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp
index 480ed0d263a..d8a81082437 100644
--- a/llvm/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp
+++ b/llvm/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp
@@ -19,6 +19,7 @@
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCRegisterInfo.h"
+#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/raw_ostream.h"
using namespace llvm;
diff --git a/llvm/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.h b/llvm/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.h
index a767aa451c6..ea68d9848b4 100644
--- a/llvm/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.h
+++ b/llvm/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.h
@@ -15,14 +15,10 @@
#define LLVM_LIB_TARGET_AARCH64_INSTPRINTER_AARCH64INSTPRINTER_H
#include "MCTargetDesc/AArch64MCTargetDesc.h"
-#include "llvm/ADT/StringRef.h"
#include "llvm/MC/MCInstPrinter.h"
-#include "llvm/MC/MCSubtargetInfo.h"
namespace llvm {
-class MCOperand;
-
class AArch64InstPrinter : public MCInstPrinter {
public:
AArch64InstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
OpenPOWER on IntegriCloud