[yaml2obj] format some codes NFC.

Summary: This line is longer than 80 characters.

Subscribers: llvm-commits, jakehehrlich

Differential Revision: https://reviews.llvm.org/D55419

llvm-svn: 348580
This commit is contained in:
Xing GUO 2018-12-07 11:04:22 +00:00
parent 20e44ec74c
commit bac7864a53
1 changed files with 2 additions and 1 deletions

View File

@ -685,7 +685,8 @@ template <class ELFT> bool ELFState<ELFT>::hasDynamicSymbols() const {
Doc.DynamicSymbols.Local.size() > 0; Doc.DynamicSymbols.Local.size() > 0;
} }
template <class ELFT> SmallVector<const char *, 5> ELFState<ELFT>::implicitSectionNames() const { template <class ELFT>
SmallVector<const char *, 5> ELFState<ELFT>::implicitSectionNames() const {
if (!hasDynamicSymbols()) if (!hasDynamicSymbols())
return {".symtab", ".strtab", ".shstrtab"}; return {".symtab", ".strtab", ".shstrtab"};
return {".symtab", ".strtab", ".shstrtab", ".dynsym", ".dynstr"}; return {".symtab", ".strtab", ".shstrtab", ".dynsym", ".dynstr"};