[lld] 729a764 - [lld] Remove unused forward declarations (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 30 10:36:09 PDT 2022
Author: Kazu Hirata
Date: 2022-07-30T10:35:46-07:00
New Revision: 729a76433aea03e8403f7f3b44a9259af7b9e145
URL: https://github.com/llvm/llvm-project/commit/729a76433aea03e8403f7f3b44a9259af7b9e145
DIFF: https://github.com/llvm/llvm-project/commit/729a76433aea03e8403f7f3b44a9259af7b9e145.diff
LOG: [lld] Remove unused forward declarations (NFC)
Added:
Modified:
lld/ELF/AArch64ErrataFix.h
lld/ELF/ARMErrataFix.h
lld/ELF/Driver.h
lld/ELF/EhFrame.h
lld/ELF/LTO.h
Removed:
################################################################################
diff --git a/lld/ELF/AArch64ErrataFix.h b/lld/ELF/AArch64ErrataFix.h
index 14baeaee8ef0a..1ca4ea752031f 100644
--- a/lld/ELF/AArch64ErrataFix.h
+++ b/lld/ELF/AArch64ErrataFix.h
@@ -19,7 +19,6 @@ namespace elf {
class Defined;
class InputSection;
class InputSectionDescription;
-class OutputSection;
class Patch843419Section;
class AArch64Err843419Patcher {
diff --git a/lld/ELF/ARMErrataFix.h b/lld/ELF/ARMErrataFix.h
index e400cf96feb54..dd0927fb3c039 100644
--- a/lld/ELF/ARMErrataFix.h
+++ b/lld/ELF/ARMErrataFix.h
@@ -19,7 +19,6 @@ namespace elf {
class Defined;
class InputSection;
class InputSectionDescription;
-class OutputSection;
class Patch657417Section;
class ARMErr657417Patcher {
diff --git a/lld/ELF/Driver.h b/lld/ELF/Driver.h
index c5c46fbf1e208..474cf3c3adf06 100644
--- a/lld/ELF/Driver.h
+++ b/lld/ELF/Driver.h
@@ -18,7 +18,6 @@
namespace lld {
namespace elf {
class InputFile;
-class Symbol;
extern std::unique_ptr<class LinkerDriver> driver;
diff --git a/lld/ELF/EhFrame.h b/lld/ELF/EhFrame.h
index 3b144648cf8f8..0741e91b6ccce 100644
--- a/lld/ELF/EhFrame.h
+++ b/lld/ELF/EhFrame.h
@@ -13,7 +13,6 @@
namespace lld {
namespace elf {
-class InputSectionBase;
struct EhSectionPiece;
uint8_t getFdeEncoding(EhSectionPiece *p);
diff --git a/lld/ELF/LTO.h b/lld/ELF/LTO.h
index 4cb42d84d919f..19388f37a1464 100644
--- a/lld/ELF/LTO.h
+++ b/lld/ELF/LTO.h
@@ -38,7 +38,6 @@ namespace elf {
class BitcodeFile;
class InputFile;
-class LazyObjFile;
class BitcodeCompiler {
public:
More information about the llvm-commits
mailing list