[PATCH] D67251: [Object] remove struct constructor, NFC

Cyndy Ishida via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 6 08:02:07 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL371211: [Object] remove struct constructor, NFC (authored by cishida, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D67251?vs=219015&id=219110#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67251/new/

https://reviews.llvm.org/D67251

Files:
  llvm/trunk/include/llvm/Object/ObjectFile.h


Index: llvm/trunk/include/llvm/Object/ObjectFile.h
===================================================================
--- llvm/trunk/include/llvm/Object/ObjectFile.h
+++ llvm/trunk/include/llvm/Object/ObjectFile.h
@@ -137,11 +137,6 @@
 };
 
 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;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67251.219110.patch
Type: text/x-patch
Size: 548 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190906/1e91f35b/attachment.bin>


More information about the llvm-commits mailing list