forked from OSchip/llvm-project
Fix the ctor ivar initialization formatting for Debugger,
TypeValidatorImpl, FileAction, and ProcessLaunchInfo to match the lldb coding convention. llvm-svn: 217653
This commit is contained in:
parent
74f07ed7fe
commit
e6481c7e0f
|
@ -621,22 +621,22 @@ Debugger::FindTargetWithProcess (Process *process)
|
|||
return target_sp;
|
||||
}
|
||||
|
||||
Debugger::Debugger(lldb::LogOutputCallback log_callback, void *baton)
|
||||
: UserID(g_unique_id++)
|
||||
, Properties(OptionValuePropertiesSP(new OptionValueProperties()))
|
||||
, m_input_file_sp(new StreamFile(stdin, false))
|
||||
, m_output_file_sp(new StreamFile(stdout, false))
|
||||
, m_error_file_sp(new StreamFile(stderr, false))
|
||||
, m_terminal_state()
|
||||
, m_target_list(*this)
|
||||
, m_platform_list()
|
||||
, m_listener("lldb.Debugger")
|
||||
, m_source_manager_ap()
|
||||
, m_source_file_cache()
|
||||
, m_command_interpreter_ap(new CommandInterpreter(*this, eScriptLanguageDefault, false))
|
||||
, m_input_reader_stack()
|
||||
, m_instance_name()
|
||||
, m_loaded_plugins()
|
||||
Debugger::Debugger(lldb::LogOutputCallback log_callback, void *baton) :
|
||||
UserID(g_unique_id++),
|
||||
Properties(OptionValuePropertiesSP(new OptionValueProperties())),
|
||||
m_input_file_sp(new StreamFile(stdin, false)),
|
||||
m_output_file_sp(new StreamFile(stdout, false)),
|
||||
m_error_file_sp(new StreamFile(stderr, false)),
|
||||
m_terminal_state(),
|
||||
m_target_list(*this),
|
||||
m_platform_list(),
|
||||
m_listener("lldb.Debugger"),
|
||||
m_source_manager_ap(),
|
||||
m_source_file_cache(),
|
||||
m_command_interpreter_ap(new CommandInterpreter(*this, eScriptLanguageDefault, false)),
|
||||
m_input_reader_stack(),
|
||||
m_instance_name(),
|
||||
m_loaded_plugins()
|
||||
{
|
||||
char instance_cstr[256];
|
||||
snprintf(instance_cstr, sizeof(instance_cstr), "debugger_%d", (int)GetID());
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
||||
TypeValidatorImpl::TypeValidatorImpl(const Flags &flags)
|
||||
: m_flags(flags)
|
||||
, m_my_revision(0)
|
||||
TypeValidatorImpl::TypeValidatorImpl(const Flags &flags) :
|
||||
m_flags(flags),
|
||||
m_my_revision(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -21,11 +21,11 @@ using namespace lldb_private;
|
|||
// FileAction member functions
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
FileAction::FileAction()
|
||||
: m_action(eFileActionNone)
|
||||
, m_fd(-1)
|
||||
, m_arg(-1)
|
||||
, m_path()
|
||||
FileAction::FileAction() :
|
||||
m_action(eFileActionNone),
|
||||
m_fd(-1),
|
||||
m_arg(-1),
|
||||
m_path()
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -41,19 +41,19 @@ ProcessLaunchInfo::ProcessLaunchInfo () :
|
|||
}
|
||||
|
||||
ProcessLaunchInfo::ProcessLaunchInfo(const char *stdin_path, const char *stdout_path, const char *stderr_path,
|
||||
const char *working_directory, uint32_t launch_flags)
|
||||
: ProcessInfo()
|
||||
, m_working_dir()
|
||||
, m_plugin_name()
|
||||
, m_shell()
|
||||
, m_flags(launch_flags)
|
||||
, m_file_actions()
|
||||
, m_pty()
|
||||
, m_resume_count(0)
|
||||
, m_monitor_callback(NULL)
|
||||
, m_monitor_callback_baton(NULL)
|
||||
, m_monitor_signals(false)
|
||||
, m_hijack_listener_sp()
|
||||
const char *working_directory, uint32_t launch_flags) :
|
||||
ProcessInfo(),
|
||||
m_working_dir(),
|
||||
m_plugin_name(),
|
||||
m_shell(),
|
||||
m_flags(launch_flags),
|
||||
m_file_actions(),
|
||||
m_pty(),
|
||||
m_resume_count(0),
|
||||
m_monitor_callback(NULL),
|
||||
m_monitor_callback_baton(NULL),
|
||||
m_monitor_signals(false),
|
||||
m_hijack_listener_sp()
|
||||
{
|
||||
if (stdin_path)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue