From bac7864a53f452ace393f0f1febaa5bdfa5d1ff5 Mon Sep 17 00:00:00 2001 From: Xing GUO Date: Fri, 7 Dec 2018 11:04:22 +0000 Subject: [PATCH] [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 --- llvm/tools/yaml2obj/yaml2elf.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/tools/yaml2obj/yaml2elf.cpp b/llvm/tools/yaml2obj/yaml2elf.cpp index bd4c1c3e9988..672d1540daf0 100644 --- a/llvm/tools/yaml2obj/yaml2elf.cpp +++ b/llvm/tools/yaml2obj/yaml2elf.cpp @@ -685,7 +685,8 @@ template bool ELFState::hasDynamicSymbols() const { Doc.DynamicSymbols.Local.size() > 0; } -template SmallVector ELFState::implicitSectionNames() const { +template +SmallVector ELFState::implicitSectionNames() const { if (!hasDynamicSymbols()) return {".symtab", ".strtab", ".shstrtab"}; return {".symtab", ".strtab", ".shstrtab", ".dynsym", ".dynstr"};