From: Cyndy Ishida Date: Fri, 6 Sep 2019 15:02:22 +0000 (+0000) Subject: [Object] remove struct constructor, NFC X-Git-Tag: llvmorg-11-init~9837 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f8d005831a0b6cedd4935579dda2ac97518e4d9;p=platform%2Fupstream%2Fllvm.git [Object] remove struct constructor, NFC Summary: make POD struct by removing ctors Reviewers: avl, dblaikie Reviewed By: dblaikie Subscribers: ributzka, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D67251 llvm-svn: 371211 --- diff --git a/llvm/include/llvm/Object/ObjectFile.h b/llvm/include/llvm/Object/ObjectFile.h index a4b4f27..63c556b 100644 --- a/llvm/include/llvm/Object/ObjectFile.h +++ b/llvm/include/llvm/Object/ObjectFile.h @@ -137,11 +137,6 @@ public: }; struct SectionedAddress { - // TODO: constructors could be removed when C++14 would be adopted. - SectionedAddress() {} - SectionedAddress(uint64_t Addr, uint64_t SectIdx) - : Address(Addr), SectionIndex(SectIdx) {} - const static uint64_t UndefSection = UINT64_MAX; uint64_t Address = 0;