summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2022-02-03 14:05:53 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2022-02-03 14:29:03 +0000
commit0e342e6efd127c6938911784d8cea28e0f3deedb (patch)
tree2daa50c12cb4608c753f905f8ed9bceb2249e89d
parent4f62cb627cf4739775265de0ce96634122ae7ed7 (diff)
XCoreInstPrinter.h - replace unnecessary StringRef include with forward declaration
-rw-r--r--llvm/lib/Target/XCore/MCTargetDesc/XCoreInstPrinter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/XCore/MCTargetDesc/XCoreInstPrinter.h b/llvm/lib/Target/XCore/MCTargetDesc/XCoreInstPrinter.h
index fccd5183f07a..a8801fc2c5bc 100644
--- a/llvm/lib/Target/XCore/MCTargetDesc/XCoreInstPrinter.h
+++ b/llvm/lib/Target/XCore/MCTargetDesc/XCoreInstPrinter.h
@@ -15,10 +15,10 @@
#ifndef LLVM_LIB_TARGET_XCORE_MCTARGETDESC_XCOREINSTPRINTER_H
#define LLVM_LIB_TARGET_XCORE_MCTARGETDESC_XCOREINSTPRINTER_H
-#include "llvm/ADT/StringRef.h"
#include "llvm/MC/MCInstPrinter.h"
namespace llvm {
+class StringRef;
class XCoreInstPrinter : public MCInstPrinter {
public: