diff options
author | Sam McCall <sam.mccall@gmail.com> | 2019-10-04 09:41:43 +0000 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2019-10-04 09:41:43 +0000 |
commit | 29dfb494b1816accd1378c2989356aa40c5f49ac (patch) | |
tree | 538e9822cb65123c08f3b61507e491b9c0579c79 /source | |
parent | e8e9ad1a3f8291a132a26a0603690e5511cdf623 (diff) | |
download | lldb-29dfb494b1816accd1378c2989356aa40c5f49ac.tar.gz |
[lldb] Fix -Wreorder-ctor in r373673
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@373721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'source')
-rw-r--r-- | source/Commands/CommandObjectBreakpoint.cpp | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/source/Commands/CommandObjectBreakpoint.cpp b/source/Commands/CommandObjectBreakpoint.cpp index 4700b626b..ad699975b 100644 --- a/source/Commands/CommandObjectBreakpoint.cpp +++ b/source/Commands/CommandObjectBreakpoint.cpp @@ -242,19 +242,18 @@ public: interpreter, "breakpoint set", "Sets a breakpoint or set of breakpoints in the executable.", "breakpoint set <cmd-options>"), - m_python_class_options("scripted breakpoint", 'P'), - m_bp_opts(), m_options() { - // We're picking up all the normal options, commands and disable. - m_all_options.Append(&m_python_class_options, LLDB_OPT_SET_1, - LLDB_OPT_SET_11); - m_all_options.Append(&m_bp_opts, - LLDB_OPT_SET_1 | LLDB_OPT_SET_3 | LLDB_OPT_SET_4, - LLDB_OPT_SET_ALL); - m_all_options.Append(&m_dummy_options, LLDB_OPT_SET_1, - LLDB_OPT_SET_ALL); - m_all_options.Append(&m_options); - m_all_options.Finalize(); - } + m_bp_opts(), m_python_class_options("scripted breakpoint", 'P'), + m_options() { + // We're picking up all the normal options, commands and disable. + m_all_options.Append(&m_python_class_options, LLDB_OPT_SET_1, + LLDB_OPT_SET_11); + m_all_options.Append(&m_bp_opts, + LLDB_OPT_SET_1 | LLDB_OPT_SET_3 | LLDB_OPT_SET_4, + LLDB_OPT_SET_ALL); + m_all_options.Append(&m_dummy_options, LLDB_OPT_SET_1, LLDB_OPT_SET_ALL); + m_all_options.Append(&m_options); + m_all_options.Finalize(); + } ~CommandObjectBreakpointSet() override = default; |