summaryrefslogtreecommitdiffstats
path: root/lld/ELF/OutputSections.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2018-03-07 19:25:27 +0000
committerRui Ueyama <ruiu@google.com>2018-03-07 19:25:27 +0000
commit5aa2db1e12d74711a8d9f46f819f65e2aca24e4d (patch)
treeac3d040a3ebdb19bb7afed36a22284d12630c757 /lld/ELF/OutputSections.cpp
parent7fdf44440ca47bbb3f52e2c01d77895fe1a2e0e1 (diff)
downloadbcm5719-llvm-5aa2db1e12d74711a8d9f46f819f65e2aca24e4d.tar.gz
bcm5719-llvm-5aa2db1e12d74711a8d9f46f819f65e2aca24e4d.zip
Initialize a member in C++11 style. NFC.
llvm-svn: 326933
Diffstat (limited to 'lld/ELF/OutputSections.cpp')
-rw-r--r--lld/ELF/OutputSections.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp
index 9d5ebe5fea7..8f29b291b39 100644
--- a/lld/ELF/OutputSections.cpp
+++ b/lld/ELF/OutputSections.cpp
@@ -72,9 +72,7 @@ void OutputSection::writeHeaderTo(typename ELFT::Shdr *Shdr) {
OutputSection::OutputSection(StringRef Name, uint32_t Type, uint64_t Flags)
: BaseCommand(OutputSectionKind),
SectionBase(Output, Name, Flags, /*Entsize*/ 0, /*Alignment*/ 1, Type,
- /*Info*/ 0,
- /*Link*/ 0),
- SectionIndex(INT_MAX) {
+ /*Info*/ 0, /*Link*/ 0) {
Live = false;
}
OpenPOWER on IntegriCloud