summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2022-02-03 15:57:12 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2022-02-03 16:02:46 +0000
commitec38e19a2a4f44ff29f8e0ae70f75ed22a7b4f32 (patch)
treeecbd4039e356a45076fbc6a8650be764bf70dfaf
parentea7a3e6a6a131ef61dbc2dd5802e7cb6caf56f74 (diff)
MipsABIFlagsSection.h - replace unnecessary StringRef include with forward declaration
-rw-r--r--llvm/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h b/llvm/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h
index 6091ee24b04d..1a5bb64863ee 100644
--- a/llvm/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h
+++ b/llvm/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h
@@ -9,7 +9,6 @@
#ifndef LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSABIFLAGSSECTION_H
#define LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSABIFLAGSSECTION_H
-#include "llvm/ADT/StringRef.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MipsABIFlags.h"
#include <cstdint>
@@ -17,6 +16,7 @@
namespace llvm {
class MCStreamer;
+class StringRef;
struct MipsABIFlagsSection {
// Internal representation of the fp_abi related values used in .module.