[llvm] c3730ad - [AsmPrinter] Remove unused forward declarations. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 22 06:02:20 PDT 2020
Author: Simon Pilgrim
Date: 2020-04-22T14:01:52+01:00
New Revision: c3730ad8fcf5ee2ccf3b409faa09ac482b5235de
URL: https://github.com/llvm/llvm-project/commit/c3730ad8fcf5ee2ccf3b409faa09ac482b5235de
DIFF: https://github.com/llvm/llvm-project/commit/c3730ad8fcf5ee2ccf3b409faa09ac482b5235de.diff
LOG: [AsmPrinter] Remove unused forward declarations. NFC.
Added:
Modified:
llvm/lib/CodeGen/AsmPrinter/DIEHash.h
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
llvm/lib/CodeGen/AsmPrinter/WinException.h
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIEHash.h b/llvm/lib/CodeGen/AsmPrinter/DIEHash.h
index 2e49514c98be..1a69f6772873 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DIEHash.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DIEHash.h
@@ -20,7 +20,6 @@
namespace llvm {
class AsmPrinter;
-class CompileUnit;
/// An object containing the capability of hashing and adding hash
/// attributes onto a DIE.
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
index 46c52a1faf4b..34f3a34ed336 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
@@ -27,7 +27,6 @@
namespace llvm {
-class MachineLocation;
class MachineOperand;
class ConstantInt;
class ConstantFP;
diff --git a/llvm/lib/CodeGen/AsmPrinter/WinException.h b/llvm/lib/CodeGen/AsmPrinter/WinException.h
index dc5036302131..8bd5d1bc6d2a 100644
--- a/llvm/lib/CodeGen/AsmPrinter/WinException.h
+++ b/llvm/lib/CodeGen/AsmPrinter/WinException.h
@@ -16,12 +16,10 @@
#include "EHStreamer.h"
namespace llvm {
-class Function;
class GlobalValue;
class MachineFunction;
class MCExpr;
class MCSection;
-class Value;
struct WinEHFuncInfo;
class LLVM_LIBRARY_VISIBILITY WinException : public EHStreamer {
More information about the llvm-commits
mailing list