[llvm] 490443f - MCSchedule.h - replace ArrayRef.h include with forward declaration. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 16 09:18:22 PDT 2020
Author: Simon Pilgrim
Date: 2020-04-16T17:13:56+01:00
New Revision: 490443f822bbf293e9009cc8e5d33db7438fe294
URL: https://github.com/llvm/llvm-project/commit/490443f822bbf293e9009cc8e5d33db7438fe294
DIFF: https://github.com/llvm/llvm-project/commit/490443f822bbf293e9009cc8e5d33db7438fe294.diff
LOG: MCSchedule.h - replace ArrayRef.h include with forward declaration. NFC.
Added:
Modified:
llvm/include/llvm/MC/MCSchedule.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/MC/MCSchedule.h b/llvm/include/llvm/MC/MCSchedule.h
index df3248ee6e86..66c5659af3a7 100644
--- a/llvm/include/llvm/MC/MCSchedule.h
+++ b/llvm/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 <typename T> class ArrayRef;
struct InstrItinerary;
class MCSubtargetInfo;
class MCInstrInfo;
More information about the llvm-commits
mailing list