[llvm] 2570c7e - [CodeGen] Remove unused forward declarations (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 17 09:09:47 PST 2023
Author: Kazu Hirata
Date: 2023-12-17T09:09:39-08:00
New Revision: 2570c7e284c8ad1ee6db069e22d72b836ae935f6
URL: https://github.com/llvm/llvm-project/commit/2570c7e284c8ad1ee6db069e22d72b836ae935f6
DIFF: https://github.com/llvm/llvm-project/commit/2570c7e284c8ad1ee6db069e22d72b836ae935f6.diff
LOG: [CodeGen] Remove unused forward declarations (NFC)
Added:
Modified:
llvm/include/llvm/CodeGen/AccelTable.h
llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
llvm/lib/CodeGen/AsmPrinter/DebugLocStream.h
llvm/lib/CodeGen/AsmPrinter/DwarfFile.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/AccelTable.h b/llvm/include/llvm/CodeGen/AccelTable.h
index 0f35fd3514fae7..af874aa5e91a32 100644
--- a/llvm/include/llvm/CodeGen/AccelTable.h
+++ b/llvm/include/llvm/CodeGen/AccelTable.h
@@ -103,7 +103,6 @@
namespace llvm {
class AsmPrinter;
-class DwarfUnit;
class DwarfDebug;
class DwarfTypeUnit;
class MCSymbol;
diff --git a/llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h b/llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
index a4e9c92b489767..e7debc652a0a8b 100644
--- a/llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
+++ b/llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
@@ -28,11 +28,9 @@
namespace llvm {
class GISelChangeObserver;
-class APFloat;
class APInt;
class ConstantFP;
class GPtrAdd;
-class GStore;
class GZExtLoad;
class MachineIRBuilder;
class MachineInstrBuilder;
diff --git a/llvm/lib/CodeGen/AsmPrinter/DebugLocStream.h b/llvm/lib/CodeGen/AsmPrinter/DebugLocStream.h
index c9378ace4fd1be..6f553dc85c6462 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DebugLocStream.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DebugLocStream.h
@@ -18,7 +18,6 @@ namespace llvm {
class AsmPrinter;
class DbgVariable;
class DwarfCompileUnit;
-class MachineInstr;
class MCSymbol;
/// Byte stream of .debug_loc entries.
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.h b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.h
index e10fd2b2642ac9..f76858fc2f36a0 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.h
@@ -28,7 +28,6 @@ class DbgLabel;
class DINode;
class DILocalScope;
class DwarfCompileUnit;
-class DwarfTypeUnit;
class DwarfUnit;
class LexicalScope;
class MCSection;
More information about the llvm-commits
mailing list