Skip to content

Commit bc42cde

Browse files
committed
formatting.
1 parent d3eb36b commit bc42cde

File tree

5 files changed

+210
-222
lines changed

5 files changed

+210
-222
lines changed

lldb/include/lldb/Interpreter/CommandOptionArgumentTable.h

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,17 +156,23 @@ static constexpr OptionEnumValueElement g_running_mode[] = {
156156

157157
static constexpr OptionEnumValueElement g_exception_stage[] = {
158158
{lldb::eExceptionStageThrow, "throw", "Stop when the exception is thrown."},
159-
{lldb::eExceptionStageReThrow, "re-throw", "Stop when the exception is re-thrown."},
159+
{lldb::eExceptionStageReThrow, "re-throw",
160+
"Stop when the exception is re-thrown."},
160161
{lldb::eExceptionStageCatch, "catch", "Stop when the exception is caught."},
161162
};
162163

163164
static constexpr OptionEnumValueElement g_name_match_style[] = {
164-
{lldb::eNameMatchStyleAuto, "auto", "Match against the leaf nodes of the identifier, or against methods or selectors."},
165+
{lldb::eNameMatchStyleAuto, "auto",
166+
"Match against the leaf nodes of the identifier, or against methods or "
167+
"selectors."},
165168
{lldb::eNameMatchStyleFull, "full", "Match the full identifier name."},
166-
{lldb::eNameMatchStyleBase, "base", "Match against the leaf node of the identifier."},
169+
{lldb::eNameMatchStyleBase, "base",
170+
"Match against the leaf node of the identifier."},
167171
{lldb::eNameMatchStyleMethod, "method", "Match only against method names."},
168-
{lldb::eNameMatchStyleSelector, "selector", "Match only against selector names."},
169-
{lldb::eNameMatchStyleRegex, "regex", "Match the identifier using a regular expression."},
172+
{lldb::eNameMatchStyleSelector, "selector",
173+
"Match only against selector names."},
174+
{lldb::eNameMatchStyleRegex, "regex",
175+
"Match the identifier using a regular expression."},
170176
};
171177

172178
static constexpr OptionEnumValueElement g_completion_type[] = {

lldb/include/lldb/Interpreter/OptionValueFileColonLine.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class OptionValueFileColonLine :
4040
m_line_number = LLDB_INVALID_LINE_NUMBER;
4141
m_column_number = LLDB_INVALID_COLUMN_NUMBER;
4242
}
43-
43+
4444
void SetFile(const FileSpec &file_spec) { m_file_spec = file_spec; }
4545
void SetLine(uint32_t line) { m_line_number = line; }
4646
void SetColumn(uint32_t column) { m_column_number = column; }

lldb/packages/Python/lldbsuite/test/lldbutil.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,13 @@ def sort_stopped_threads(
320320
# ==================================================
321321

322322
g_use_break_add = True
323+
324+
323325
def set_use_break_add(use_it):
324326
global g_use_break_add
325327
g_use_break_add = use_it
326328

329+
327330
def get_use_break_add():
328331
global g_use_break_add
329332
return g_use_break_add
@@ -423,7 +426,7 @@ def run_break_set_by_symbol(
423426
command += " " + extra_options
424427

425428
if get_use_break_add():
426-
command += f" -- '{symbol}'"
429+
command += f" -- '{symbol}'"
427430

428431
break_results = run_break_set_command(test, command)
429432

@@ -451,7 +454,7 @@ def run_break_set_by_selector(
451454
if get_use_break_add():
452455
command = f"breakpoint add name --match-style selector '{selector}'"
453456
else:
454-
command = 'breakpoint set -S "%s"' % (selector)
457+
command = 'breakpoint set -S "%s"' % (selector)
455458

456459
if module_name:
457460
command += ' --shlib "%s"' % (module_name)

0 commit comments

Comments
 (0)