[lld] r313408 - Remove redundant parentheses.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 15 15:14:59 PDT 2017
Author: ruiu
Date: Fri Sep 15 15:14:59 2017
New Revision: 313408
URL: http://llvm.org/viewvc/llvm-project?rev=313408&view=rev
Log:
Remove redundant parentheses.
Modified:
lld/trunk/ELF/OutputSections.cpp
Modified: lld/trunk/ELF/OutputSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/OutputSections.cpp?rev=313408&r1=313407&r2=313408&view=diff
==============================================================================
--- lld/trunk/ELF/OutputSections.cpp (original)
+++ lld/trunk/ELF/OutputSections.cpp Fri Sep 15 15:14:59 2017
@@ -456,7 +456,7 @@ template <class ELFT> void OutputSection
Sections.push_back(IS);
}
- if ((Flags & SHF_LINK_ORDER)) {
+ if (Flags & SHF_LINK_ORDER) {
std::stable_sort(Sections.begin(), Sections.end(), compareByFilePosition);
for (int I = 0, N = Sections.size(); I < N; ++I)
*ScriptSections[I] = Sections[I];
More information about the llvm-commits
mailing list