[Lldb-commits] [lldb] r350294 - Fix some -Wreorder warnings introduced in r350274
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Thu Jan 3 03:31:51 PST 2019
Author: labath
Date: Thu Jan 3 03:31:50 2019
New Revision: 350294
URL: http://llvm.org/viewvc/llvm-project?rev=350294&view=rev
Log:
Fix some -Wreorder warnings introduced in r350274
Modified:
lldb/trunk/include/lldb/Symbol/LineTable.h
Modified: lldb/trunk/include/lldb/Symbol/LineTable.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Symbol/LineTable.h?rev=350294&r1=350293&r2=350294&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Symbol/LineTable.h (original)
+++ lldb/trunk/include/lldb/Symbol/LineTable.h Thu Jan 3 03:31:50 2019
@@ -238,21 +238,22 @@ public:
protected:
struct Entry {
Entry()
- : file_addr(LLDB_INVALID_ADDRESS), line(0), column(0), file_idx(0),
+ : file_addr(LLDB_INVALID_ADDRESS), line(0),
is_start_of_statement(false), is_start_of_basic_block(false),
is_prologue_end(false), is_epilogue_begin(false),
- is_terminal_entry(false) {}
+ is_terminal_entry(false), column(0), file_idx(0) {}
Entry(lldb::addr_t _file_addr, uint32_t _line, uint16_t _column,
uint16_t _file_idx, bool _is_start_of_statement,
bool _is_start_of_basic_block, bool _is_prologue_end,
bool _is_epilogue_begin, bool _is_terminal_entry)
- : file_addr(_file_addr), line(_line), column(_column),
- file_idx(_file_idx), is_start_of_statement(_is_start_of_statement),
+ : file_addr(_file_addr), line(_line),
+ is_start_of_statement(_is_start_of_statement),
is_start_of_basic_block(_is_start_of_basic_block),
is_prologue_end(_is_prologue_end),
is_epilogue_begin(_is_epilogue_begin),
- is_terminal_entry(_is_terminal_entry) {}
+ is_terminal_entry(_is_terminal_entry), column(_column),
+ file_idx(_file_idx) {}
int bsearch_compare(const void *key, const void *arrmem);
More information about the lldb-commits
mailing list