[NFC] clang-format cleanup of a couple files in llvm-objcopy.

llvm-svn: 338752
This commit is contained in:
Puyan Lotfi 2018-08-02 18:16:52 +00:00
parent 910f70238c
commit 97604b4f09
2 changed files with 3 additions and 3 deletions

View File

@ -725,8 +725,7 @@ void ELFBuilder<ELFT>::initSymbolTable(SymbolTableSection *SymTab) {
Elf_Word Index = ShndxData[&Sym - Symbols.begin()];
DefSection = Obj.sections().getSection(
Index,
"Symbol '" + Name + "' has invalid section index " +
Twine(Index));
"Symbol '" + Name + "' has invalid section index " + Twine(Index));
} else if (Sym.st_shndx >= SHN_LORESERVE) {
if (!isValidReservedSectionIndex(Sym.st_shndx, Obj.Machine)) {
error(

View File

@ -601,7 +601,8 @@ static Error deepWriteArchive(StringRef ArcName,
return Error::success();
}
static void ExecuteElfObjcopyOnArchive(const CopyConfig &Config, const Archive &Ar) {
static void ExecuteElfObjcopyOnArchive(const CopyConfig &Config,
const Archive &Ar) {
std::vector<NewArchiveMember> NewArchiveMembers;
Error Err = Error::success();
for (const Archive::Child &Child : Ar.children(Err)) {