[lld] r320542 - Make a method private. NFC.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 12 18:00:46 PST 2017
Author: rafael
Date: Tue Dec 12 18:00:45 2017
New Revision: 320542
URL: http://llvm.org/viewvc/llvm-project?rev=320542&view=rev
Log:
Make a method private. NFC.
Modified:
lld/trunk/ELF/InputFiles.h
Modified: lld/trunk/ELF/InputFiles.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputFiles.h?rev=320542&r1=320541&r2=320542&view=diff
==============================================================================
--- lld/trunk/ELF/InputFiles.h (original)
+++ lld/trunk/ELF/InputFiles.h Tue Dec 12 18:00:45 2017
@@ -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();
More information about the llvm-commits
mailing list