From 3f8c6f493b06d72312757102f8277d367409bcdd Mon Sep 17 00:00:00 2001 From: Greg McGary Date: Thu, 1 Apr 2021 18:42:44 -0700 Subject: [PATCH] [lld-macho][NFC] Remove redundant member from class Defined `class Symbol` defines a data member `InputFile *file;` `class Defined` inherits from `Symbol` and also defines a data member `InputFile *file;` for no apparent purpose. Differential Revision: https://reviews.llvm.org/D99783 --- lld/MachO/Symbols.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lld/MachO/Symbols.h b/lld/MachO/Symbols.h index cb678accf1b4..77919e1557c2 100644 --- a/lld/MachO/Symbols.h +++ b/lld/MachO/Symbols.h @@ -117,7 +117,6 @@ public: static bool classof(const Symbol *s) { return s->kind() == DefinedKind; } - InputFile *file; InputSection *isec; uint64_t value; uint64_t size;