summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-10-31 22:50:49 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-10-31 22:50:49 +0000
commita08823fd107fde71cf7da9a4525a4e105468766c (patch)
tree9102c6b843fb7b11ec5553e475259654ac3b5dd7 /lldb/source/Core
parentdaed340b57210cd3dd126ac7f0fa6348819f42ec (diff)
downloadbcm5719-llvm-a08823fd107fde71cf7da9a4525a4e105468766c.tar.gz
bcm5719-llvm-a08823fd107fde71cf7da9a4525a4e105468766c.zip
warnings: Fix a bunch of -Wreorder problems.
llvm-svn: 143381
Diffstat (limited to 'lldb/source/Core')
-rw-r--r--lldb/source/Core/RegularExpression.cpp8
-rw-r--r--lldb/source/Core/ValueObject.cpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/lldb/source/Core/RegularExpression.cpp b/lldb/source/Core/RegularExpression.cpp
index c3953aae068..8099cd16899 100644
--- a/lldb/source/Core/RegularExpression.cpp
+++ b/lldb/source/Core/RegularExpression.cpp
@@ -32,8 +32,8 @@ RegularExpression::RegularExpression() :
RegularExpression::RegularExpression(const char* re, int flags) :
m_re(),
m_comp_err (1),
- m_compile_flags(flags),
- m_preg()
+ m_preg(),
+ m_compile_flags(flags)
{
memset(&m_preg,0,sizeof(m_preg));
Compile(re);
@@ -46,8 +46,8 @@ RegularExpression::RegularExpression(const char* re, int flags) :
RegularExpression::RegularExpression(const char* re) :
m_re(),
m_comp_err (1),
- m_compile_flags(REG_EXTENDED),
- m_preg()
+ m_preg(),
+ m_compile_flags(REG_EXTENDED)
{
memset(&m_preg,0,sizeof(m_preg));
Compile(re);
diff --git a/lldb/source/Core/ValueObject.cpp b/lldb/source/Core/ValueObject.cpp
index c6924c36f68..3d48bd508ed 100644
--- a/lldb/source/Core/ValueObject.cpp
+++ b/lldb/source/Core/ValueObject.cpp
@@ -85,6 +85,7 @@ ValueObject::ValueObject (ValueObject &parent) :
m_last_value_format(),
m_last_synthetic_filter(),
m_user_id_of_forced_summary(),
+ m_address_type_of_ptr_or_ref_children(eAddressTypeInvalid),
m_value_is_valid (false),
m_value_did_change (false),
m_children_count_valid (false),
@@ -94,7 +95,6 @@ ValueObject::ValueObject (ValueObject &parent) :
m_is_bitfield_for_scalar(false),
m_is_expression_path_child(false),
m_is_child_at_offset(false),
- m_address_type_of_ptr_or_ref_children(eAddressTypeInvalid),
m_trying_summary_already(false)
{
m_manager->ManageObject(this);
@@ -131,6 +131,7 @@ ValueObject::ValueObject (ExecutionContextScope *exe_scope,
m_last_value_format(),
m_last_synthetic_filter(),
m_user_id_of_forced_summary(),
+ m_address_type_of_ptr_or_ref_children(child_ptr_or_ref_addr_type),
m_value_is_valid (false),
m_value_did_change (false),
m_children_count_valid (false),
@@ -140,7 +141,6 @@ ValueObject::ValueObject (ExecutionContextScope *exe_scope,
m_is_bitfield_for_scalar(false),
m_is_expression_path_child(false),
m_is_child_at_offset(false),
- m_address_type_of_ptr_or_ref_children(child_ptr_or_ref_addr_type),
m_trying_summary_already(false)
{
m_manager = new ValueObjectManager();
OpenPOWER on IntegriCloud