diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-02-03 14:05:53 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-02-03 14:29:03 +0000 |
commit | 0e342e6efd127c6938911784d8cea28e0f3deedb (patch) | |
tree | 2daa50c12cb4608c753f905f8ed9bceb2249e89d | |
parent | 4f62cb627cf4739775265de0ce96634122ae7ed7 (diff) |
XCoreInstPrinter.h - replace unnecessary StringRef include with forward declaration
-rw-r--r-- | llvm/lib/Target/XCore/MCTargetDesc/XCoreInstPrinter.h | 2 |
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: |