[lld] r283556 - Add () for clarity. NFC.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 7 07:23:28 PDT 2016
Author: rafael
Date: Fri Oct 7 09:23:28 2016
New Revision: 283556
URL: http://llvm.org/viewvc/llvm-project?rev=283556&view=rev
Log:
Add () for clarity. NFC.
Modified:
lld/trunk/ELF/InputSection.cpp
Modified: lld/trunk/ELF/InputSection.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputSection.cpp?rev=283556&r1=283555&r2=283556&view=diff
==============================================================================
--- lld/trunk/ELF/InputSection.cpp (original)
+++ lld/trunk/ELF/InputSection.cpp Fri Oct 7 09:23:28 2016
@@ -582,7 +582,7 @@ template <class ELFT> void MergeInputSec
else
this->Pieces = splitNonStrings(Data, EntSize);
- if (Config->GcSections && this->getSectionHdr()->sh_flags & SHF_ALLOC)
+ if (Config->GcSections && (this->getSectionHdr()->sh_flags & SHF_ALLOC))
for (uintX_t Off : LiveOffsets)
this->getSectionPiece(Off)->Live = true;
}
More information about the llvm-commits
mailing list