[llvm] d8a4a99 - [PowerPC] Remove unused forward declarations. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 23 07:03:12 PDT 2020
Author: Simon Pilgrim
Date: 2020-04-23T15:02:18+01:00
New Revision: d8a4a991619995edcff484b7224034afe5b79b81
URL: https://github.com/llvm/llvm-project/commit/d8a4a991619995edcff484b7224034afe5b79b81
DIFF: https://github.com/llvm/llvm-project/commit/d8a4a991619995edcff484b7224034afe5b79b81.diff
LOG: [PowerPC] Remove unused forward declarations. NFC.
Added:
Modified:
llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h
llvm/lib/Target/PowerPC/PPCSubtarget.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h b/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h
index 49443679bb31..719e005d9813 100644
--- a/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h
+++ b/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h
@@ -32,9 +32,6 @@ class MCRegisterInfo;
class MCSubtargetInfo;
class MCTargetOptions;
class Target;
-class Triple;
-class StringRef;
-class raw_pwrite_stream;
MCCodeEmitter *createPPCMCCodeEmitter(const MCInstrInfo &MCII,
const MCRegisterInfo &MRI,
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h
index b7b09319e22e..1ed01339571b 100644
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.h
+++ b/llvm/lib/Target/PowerPC/PPCSubtarget.h
@@ -63,7 +63,6 @@ namespace PPC {
}
class GlobalValue;
-class TargetMachine;
class PPCSubtarget : public PPCGenSubtargetInfo {
public:
More information about the llvm-commits
mailing list