warnings: Fix a bunch of -Wreorder problems.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@143381 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/ASTResultSynthesizer.cpp b/source/Expression/ASTResultSynthesizer.cpp
index e78f09d..cb832fa 100644
--- a/source/Expression/ASTResultSynthesizer.cpp
+++ b/source/Expression/ASTResultSynthesizer.cpp
@@ -34,10 +34,10 @@
m_ast_context (NULL),
m_passthrough (passthrough),
m_passthrough_sema (NULL),
- m_sema (NULL),
- m_desired_type (desired_type),
m_scratch_ast_context (scratch_ast_context),
- m_persistent_vars (persistent_vars)
+ m_persistent_vars (persistent_vars),
+ m_sema (NULL),
+ m_desired_type (desired_type)
{
if (!m_passthrough)
return;
diff --git a/source/Expression/ClangUserExpression.cpp b/source/Expression/ClangUserExpression.cpp
index 7521bcb..8261099 100644
--- a/source/Expression/ClangUserExpression.cpp
+++ b/source/Expression/ClangUserExpression.cpp
@@ -54,9 +54,9 @@
m_objectivec (false),
m_needs_object_ptr (false),
m_const_object (false),
+ m_target (NULL),
m_evaluated_statically (false),
- m_const_result (),
- m_target (NULL)
+ m_const_result ()
{
}
diff --git a/source/Expression/IRInterpreter.cpp b/source/Expression/IRInterpreter.cpp
index 97130d1..5bb59a6 100644
--- a/source/Expression/IRInterpreter.cpp
+++ b/source/Expression/IRInterpreter.cpp
@@ -419,8 +419,8 @@
InterpreterStackFrame (TargetData &target_data,
Memory &memory,
lldb_private::ClangExpressionDeclMap &decl_map) :
- m_target_data (target_data),
m_memory (memory),
+ m_target_data (target_data),
m_decl_map (decl_map)
{
m_byte_order = (target_data.isLittleEndian() ? lldb::eByteOrderLittle : lldb::eByteOrderBig);