[Lldb-commits] [PATCH 3/3] Order of initialization lists.

Marco Minutoli mminutoli at gmail.com
Mon Apr 11 01:38:22 PDT 2011


This patch fix all the warning due to unordered initialization lists.

PS: Sorry I forgot this file in my previous commit.
---
 include/lldb/Symbol/DWARFCallFrameInfo.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/lldb/Symbol/DWARFCallFrameInfo.h b/include/lldb/Symbol/DWARFCallFrameInfo.h
index c9f6083..35cbf76 100644
--- a/include/lldb/Symbol/DWARFCallFrameInfo.h
+++ b/include/lldb/Symbol/DWARFCallFrameInfo.h
@@ -70,9 +70,9 @@ private:
         uint8_t     ptr_encoding;
         lldb_private::UnwindPlan::Row initial_row;
 
-        CIE(dw_offset_t offset) : cie_offset(offset), initial_row(), version (-1),
-                                  code_align (0), data_align (0), return_addr_reg_num (-1),
-                                  inst_offset (0), inst_length (0), ptr_encoding (0) {}
+        CIE(dw_offset_t offset) : cie_offset(offset), version (-1), code_align (0),
+                                  data_align (0), return_addr_reg_num (-1), inst_offset (0),
+                                  inst_length (0), ptr_encoding (0), initial_row() {}
     };
 
     typedef lldb::SharedPtr<CIE>::Type CIESP;
@@ -82,7 +82,7 @@ private:
         AddressRange bounds;   // function bounds
         dw_offset_t offset;    // offset to this FDE within the Section
 
-        FDEEntry () : offset (0), bounds () { }
+        FDEEntry () : bounds (), offset (0) { }
 
         inline bool
         operator<(const DWARFCallFrameInfo::FDEEntry& b) const
-- 
1.7.1




More information about the lldb-commits mailing list