diff --git a/include/llvm/MC/MCSchedule.h b/include/llvm/MC/MCSchedule.h index df3248ee6e8..66c5659af3a 100644 --- a/include/llvm/MC/MCSchedule.h +++ b/include/llvm/MC/MCSchedule.h @@ -14,7 +14,6 @@ #ifndef LLVM_MC_MCSCHEDULE_H #define LLVM_MC_MCSCHEDULE_H -#include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/Optional.h" #include "llvm/Config/llvm-config.h" #include "llvm/Support/DataTypes.h" @@ -22,6 +21,7 @@ namespace llvm { +template class ArrayRef; struct InstrItinerary; class MCSubtargetInfo; class MCInstrInfo;