Make a struct type declaration private. NFC.

llvm-svn: 336690
This commit is contained in:
Rui Ueyama 2018-07-10 15:57:25 +00:00
parent 75024cf4a7
commit 09b373845a
1 changed files with 6 additions and 7 deletions

View File

@ -677,13 +677,6 @@ struct GdbIndexChunk {
std::vector<NameTypeEntry> NamesAndTypes;
};
// The symbol type for the .gdb_index section.
struct GdbSymbol {
llvm::CachedHashStringRef Name;
uint32_t OutputOff;
uint32_t CuVectorIdx;
};
class GdbIndexSection final : public SyntheticSection {
public:
GdbIndexSection(std::vector<GdbIndexChunk> &&Chunks);
@ -692,6 +685,12 @@ public:
bool empty() const override;
private:
struct GdbSymbol {
llvm::CachedHashStringRef Name;
uint32_t OutputOff;
uint32_t CuVectorIdx;
};
// A symbol table for this .gdb_index section.
std::vector<GdbSymbol> Symbols;