Make a method private. NFC.

llvm-svn: 320542
This commit is contained in:
Rafael Espindola 2017-12-13 02:00:45 +00:00
parent b32f389c91
commit fd901ccdda
1 changed files with 1 additions and 2 deletions

View File

@ -166,8 +166,6 @@ public:
ObjFile(MemoryBufferRef M, StringRef ArchiveName);
void parse(llvm::DenseSet<llvm::CachedHashStringRef> &ComdatGroups);
InputSectionBase *getSection(uint32_t Index) const;
Symbol &getSymbol(uint32_t SymbolIndex) const {
if (SymbolIndex >= this->Symbols.size())
fatal(toString(this) + ": invalid symbol index");
@ -196,6 +194,7 @@ public:
StringRef SourceFile;
private:
InputSectionBase *getSection(uint32_t Index) const;
void
initializeSections(llvm::DenseSet<llvm::CachedHashStringRef> &ComdatGroups);
void initializeSymbols();