summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorXing GUO <higuoxing@gmail.com>2018-12-07 11:04:22 +0000
committerXing GUO <higuoxing@gmail.com>2018-12-07 11:04:22 +0000
commitbac7864a53f452ace393f0f1febaa5bdfa5d1ff5 (patch)
tree6f31acc4d4b2fd534b28f5e62c8f67f2c5133384 /llvm/tools
parent20e44ec74c248ebc40e06f7c142252ae5035ca0f (diff)
downloadbcm5719-llvm-bac7864a53f452ace393f0f1febaa5bdfa5d1ff5.tar.gz
bcm5719-llvm-bac7864a53f452ace393f0f1febaa5bdfa5d1ff5.zip
[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
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/yaml2obj/yaml2elf.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/yaml2obj/yaml2elf.cpp b/llvm/tools/yaml2obj/yaml2elf.cpp
index bd4c1c3e998..672d1540daf 100644
--- a/llvm/tools/yaml2obj/yaml2elf.cpp
+++ b/llvm/tools/yaml2obj/yaml2elf.cpp
@@ -685,7 +685,8 @@ template <class ELFT> bool ELFState<ELFT>::hasDynamicSymbols() const {
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())
return {".symtab", ".strtab", ".shstrtab"};
return {".symtab", ".strtab", ".shstrtab", ".dynsym", ".dynstr"};
OpenPOWER on IntegriCloud