mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 23:29:51 +00:00
Unbreak bots. Didn't realize this was a C++11 feature.
llvm-svn: 184508
This commit is contained in:
parent
5ab882091c
commit
c04d8ed7be
@ -171,11 +171,12 @@ public:
|
||||
// FIXME: At this point it is fairly clear that we need to refactor these
|
||||
// static functions into methods of a class sharing some typedefs. These
|
||||
// ELF type names are insane.
|
||||
template <class ELFT,
|
||||
class Elf_Sym = typename object::ELFObjectFile<ELFT>::Elf_Sym>
|
||||
static void addSymbols(const std::vector<ELFYAML::Symbol> &Symbols,
|
||||
ELFState<ELFT> &State, std::vector<Elf_Sym> &Syms,
|
||||
unsigned SymbolBinding) {
|
||||
template <class ELFT>
|
||||
static void
|
||||
addSymbols(const std::vector<ELFYAML::Symbol> &Symbols, ELFState<ELFT> &State,
|
||||
std::vector<typename object::ELFObjectFile<ELFT>::Elf_Sym> &Syms,
|
||||
unsigned SymbolBinding) {
|
||||
typedef typename object::ELFObjectFile<ELFT>::Elf_Sym Elf_Sym;
|
||||
for (unsigned i = 0, e = Symbols.size(); i != e; ++i) {
|
||||
const ELFYAML::Symbol &Sym = Symbols[i];
|
||||
Elf_Sym Symbol;
|
||||
|
Loading…
Reference in New Issue
Block a user