summaryrefslogtreecommitdiff
path: root/lld/COFF/Symbols.h
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2019-07-10 09:10:01 +0000
committerRui Ueyama <ruiu@google.com>2019-07-10 09:10:01 +0000
commit7e296adec7ad9506ed8dd1e434ef230d134e17a8 (patch)
tree956fe6f56edf2d28680abfe675d3f8299b325ade /lld/COFF/Symbols.h
parented143c5d59bd1aba4a43ccaf4b77fbe1544d48f6 (diff)
downloadllvm-7e296adec7ad9506ed8dd1e434ef230d134e17a8.tar.gz
Make functions and member variables distinguishable even after the name style change. NFC.
llvm-svn: 365605
Diffstat (limited to 'lld/COFF/Symbols.h')
-rw-r--r--lld/COFF/Symbols.h6
1 files changed, 1 insertions, 5 deletions
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<Kind>(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; }