diff options
author | George Rimar <grimar@accesssoftek.com> | 2017-09-28 09:40:17 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2017-09-28 09:40:17 +0000 |
commit | 6e1001bd8d3d653c600eca98a5ec2f3978da926c (patch) | |
tree | cb937077bb0958635c8b16829ceaf355ad0736e6 | |
parent | 5518cbfc4187564302dbc23515d812eab8e584e7 (diff) | |
download | llvm-6e1001bd8d3d653c600eca98a5ec2f3978da926c.zip llvm-6e1001bd8d3d653c600eca98a5ec2f3978da926c.tar.gz llvm-6e1001bd8d3d653c600eca98a5ec2f3978da926c.tar.bz2 |
[EFL] - Fix incorrect code style. NFC.
llvm-svn: 314394
-rw-r--r-- | lld/ELF/OutputSections.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp index f9a4b84..2344ef7 100644 --- a/lld/ELF/OutputSections.cpp +++ b/lld/ELF/OutputSections.cpp @@ -451,12 +451,14 @@ template <class ELFT> void OutputSection::finalize() { // but sort must consider them all at once. std::vector<InputSection **> ScriptSections; std::vector<InputSection *> Sections; - for (BaseCommand *Base : Commands) - if (auto *ISD = dyn_cast<InputSectionDescription>(Base)) + for (BaseCommand *Base : Commands) { + if (auto *ISD = dyn_cast<InputSectionDescription>(Base)) { for (InputSection *&IS : ISD->Sections) { ScriptSections.push_back(&IS); Sections.push_back(IS); } + } + } if (Flags & SHF_LINK_ORDER) { std::stable_sort(Sections.begin(), Sections.end(), compareByFilePosition); |