From 1a63f5b624883e051fe7ab4b9dbaf89aeda9bf2e Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Mon, 26 Jan 2015 22:47:52 +0000 Subject: [PATCH] Fix local variable names. llvm-svn: 227147 --- lld/lib/ReaderWriter/ELF/ELFFile.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lld/lib/ReaderWriter/ELF/ELFFile.h b/lld/lib/ReaderWriter/ELF/ELFFile.h index 2b86668..5a5c7b6 100644 --- a/lld/lib/ReaderWriter/ELF/ELFFile.h +++ b/lld/lib/ReaderWriter/ELF/ELFFile.h @@ -605,8 +605,9 @@ template std::error_code ELFFile::createAtoms() { // Sort symbols by position. std::stable_sort(symbols.begin(), symbols.end(), - [](Elf_Sym_Iter A, - Elf_Sym_Iter B) { return A->st_value < B->st_value; }); + [](Elf_Sym_Iter a, Elf_Sym_Iter b) { + return a->st_value < b->st_value; + }); ErrorOr sectionName = this->getSectionName(section); if (std::error_code ec = sectionName.getError()) -- 2.7.4