forked from OSchip/llvm-project
Fix some order-of-initialisation warnings
llvm-svn: 132588
This commit is contained in:
parent
10bc01032c
commit
6b5f17a586
|
@ -21,7 +21,7 @@ namespace imp
|
|||
class shared_ptr_refcount : public lldb_private::imp::shared_count
|
||||
{
|
||||
public:
|
||||
template<class Y> shared_ptr_refcount (Y *in) : manager(in), shared_count (0) {}
|
||||
template<class Y> shared_ptr_refcount (Y *in) : shared_count (0), manager(in) {}
|
||||
|
||||
shared_ptr_refcount() : shared_count (0) {}
|
||||
|
||||
|
@ -44,8 +44,8 @@ class ClusterManager
|
|||
{
|
||||
public:
|
||||
ClusterManager () :
|
||||
m_external_ref(0),
|
||||
m_objects(),
|
||||
m_external_ref(0),
|
||||
m_mutex(Mutex::eMutexTypeNormal) {}
|
||||
|
||||
~ClusterManager ()
|
||||
|
|
|
@ -45,10 +45,10 @@ ThreadPlanCallFunction::ThreadPlanCallFunction (Thread &thread,
|
|||
ThreadPlan (ThreadPlan::eKindCallFunction, "Call function plan", thread, eVoteNoOpinion, eVoteNoOpinion),
|
||||
m_valid (false),
|
||||
m_stop_other_threads (stop_other_threads),
|
||||
m_function_sp (NULL),
|
||||
m_process (thread.GetProcess()),
|
||||
m_thread (thread),
|
||||
m_takedown_done (false),
|
||||
m_function_sp (NULL)
|
||||
m_takedown_done (false)
|
||||
{
|
||||
SetOkayToDiscard (discard_on_error);
|
||||
|
||||
|
@ -158,10 +158,10 @@ ThreadPlanCallFunction::ThreadPlanCallFunction (Thread &thread,
|
|||
ThreadPlan (ThreadPlan::eKindCallFunction, "Call function plan", thread, eVoteNoOpinion, eVoteNoOpinion),
|
||||
m_valid (false),
|
||||
m_stop_other_threads (stop_other_threads),
|
||||
m_function_sp(NULL),
|
||||
m_process (thread.GetProcess()),
|
||||
m_thread (thread),
|
||||
m_takedown_done (false),
|
||||
m_function_sp(NULL)
|
||||
m_takedown_done (false)
|
||||
{
|
||||
SetOkayToDiscard (discard_on_error);
|
||||
|
||||
|
|
Loading…
Reference in New Issue