XCoreInstPrinter.h - replace unnecessary StringRef include with forward declaration
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 3 Feb 2022 14:05:53 +0000 (14:05 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 3 Feb 2022 14:29:03 +0000 (14:29 +0000)
llvm/lib/Target/XCore/MCTargetDesc/XCoreInstPrinter.h

index fccd518..a8801fc 100644 (file)
 #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: