mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-26 07:34:06 +00:00
Unbreak bots. Didn't realize this was a C++11 feature.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184508 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a5706fcd80
commit
552d7cd31a
@ -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…
x
Reference in New Issue
Block a user