From 7e296adec7ad9506ed8dd1e434ef230d134e17a8 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Wed, 10 Jul 2019 09:10:01 +0000 Subject: Make functions and member variables distinguishable even after the name style change. NFC. llvm-svn: 365605 --- lld/COFF/Symbols.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lld/COFF/Symbols.h') diff --git a/lld/COFF/Symbols.h b/lld/COFF/Symbols.h index ee0c0e7b0585..53e45a8064ea 100644 --- a/lld/COFF/Symbols.h +++ b/lld/COFF/Symbols.h @@ -59,9 +59,6 @@ public: Kind kind() const { return static_cast(SymbolKind); } - // Returns true if this is an external symbol. - bool isExternal() { return IsExternal; } - // Returns the symbol name. StringRef getName(); @@ -85,10 +82,10 @@ protected: const unsigned SymbolKind : 8; unsigned IsExternal : 1; +public: // This bit is used by the \c DefinedRegular subclass. unsigned IsCOMDAT : 1; -public: // This bit is used by Writer::createSymbolAndStringTable() to prevent // symbols from being written to the symbol table more than once. unsigned WrittenToSymtab : 1; @@ -172,7 +169,6 @@ public: } uint64_t getRVA() const { return (*Data)->getRVA() + Sym->Value; } - bool isCOMDAT() const { return IsCOMDAT; } SectionChunk *getChunk() const { return *Data; } uint32_t getValue() const { return Sym->Value; } -- cgit v1.2.1