@@ -848,7 +848,7 @@ class CommandObjectBreakpointModify : public CommandObjectParsed {
848
848
BreakpointIDList valid_bp_ids;
849
849
850
850
CommandObjectMultiwordBreakpoint::VerifyBreakpointOrLocationIDs (
851
- command, & target, result, &valid_bp_ids,
851
+ command, target, result, &valid_bp_ids,
852
852
BreakpointName::Permissions::PermissionKinds::disablePerm);
853
853
854
854
if (result.Succeeded ()) {
@@ -929,7 +929,7 @@ class CommandObjectBreakpointEnable : public CommandObjectParsed {
929
929
// Particular breakpoint selected; enable that breakpoint.
930
930
BreakpointIDList valid_bp_ids;
931
931
CommandObjectMultiwordBreakpoint::VerifyBreakpointOrLocationIDs (
932
- command, & target, result, &valid_bp_ids,
932
+ command, target, result, &valid_bp_ids,
933
933
BreakpointName::Permissions::PermissionKinds::disablePerm);
934
934
935
935
if (result.Succeeded ()) {
@@ -1035,7 +1035,7 @@ the second re-enables the first location.");
1035
1035
BreakpointIDList valid_bp_ids;
1036
1036
1037
1037
CommandObjectMultiwordBreakpoint::VerifyBreakpointOrLocationIDs (
1038
- command, & target, result, &valid_bp_ids,
1038
+ command, target, result, &valid_bp_ids,
1039
1039
BreakpointName::Permissions::PermissionKinds::disablePerm);
1040
1040
1041
1041
if (result.Succeeded ()) {
@@ -1180,7 +1180,7 @@ class CommandObjectBreakpointList : public CommandObjectParsed {
1180
1180
// Particular breakpoints selected; show info about that breakpoint.
1181
1181
BreakpointIDList valid_bp_ids;
1182
1182
CommandObjectMultiwordBreakpoint::VerifyBreakpointOrLocationIDs (
1183
- command, & target, result, &valid_bp_ids,
1183
+ command, target, result, &valid_bp_ids,
1184
1184
BreakpointName::Permissions::PermissionKinds::listPerm);
1185
1185
1186
1186
if (result.Succeeded ()) {
@@ -1459,7 +1459,7 @@ class CommandObjectBreakpointDelete : public CommandObjectParsed {
1459
1459
1460
1460
if (!command.empty ()) {
1461
1461
CommandObjectMultiwordBreakpoint::VerifyBreakpointOrLocationIDs (
1462
- command, & target, result, &excluded_bp_ids,
1462
+ command, target, result, &excluded_bp_ids,
1463
1463
BreakpointName::Permissions::PermissionKinds::deletePerm);
1464
1464
if (!result.Succeeded ())
1465
1465
return ;
@@ -1478,7 +1478,7 @@ class CommandObjectBreakpointDelete : public CommandObjectParsed {
1478
1478
}
1479
1479
} else {
1480
1480
CommandObjectMultiwordBreakpoint::VerifyBreakpointOrLocationIDs (
1481
- command, & target, result, &valid_bp_ids,
1481
+ command, target, result, &valid_bp_ids,
1482
1482
BreakpointName::Permissions::PermissionKinds::deletePerm);
1483
1483
if (!result.Succeeded ())
1484
1484
return ;
@@ -1781,7 +1781,7 @@ class CommandObjectBreakpointNameAdd : public CommandObjectParsed {
1781
1781
// Particular breakpoint selected; disable that breakpoint.
1782
1782
BreakpointIDList valid_bp_ids;
1783
1783
CommandObjectMultiwordBreakpoint::VerifyBreakpointIDs (
1784
- command, & target, result, &valid_bp_ids,
1784
+ command, target, result, &valid_bp_ids,
1785
1785
BreakpointName::Permissions::PermissionKinds::listPerm);
1786
1786
1787
1787
if (result.Succeeded ()) {
@@ -1855,7 +1855,7 @@ class CommandObjectBreakpointNameDelete : public CommandObjectParsed {
1855
1855
// Particular breakpoint selected; disable that breakpoint.
1856
1856
BreakpointIDList valid_bp_ids;
1857
1857
CommandObjectMultiwordBreakpoint::VerifyBreakpointIDs (
1858
- command, & target, result, &valid_bp_ids,
1858
+ command, target, result, &valid_bp_ids,
1859
1859
BreakpointName::Permissions::PermissionKinds::deletePerm);
1860
1860
1861
1861
if (result.Succeeded ()) {
@@ -2328,7 +2328,7 @@ class CommandObjectBreakpointWrite : public CommandObjectParsed {
2328
2328
BreakpointIDList valid_bp_ids;
2329
2329
if (!command.empty ()) {
2330
2330
CommandObjectMultiwordBreakpoint::VerifyBreakpointIDs (
2331
- command, & target, result, &valid_bp_ids,
2331
+ command, target, result, &valid_bp_ids,
2332
2332
BreakpointName::Permissions::PermissionKinds::listPerm);
2333
2333
2334
2334
if (!result.Succeeded ()) {
@@ -2410,7 +2410,7 @@ CommandObjectMultiwordBreakpoint::CommandObjectMultiwordBreakpoint(
2410
2410
CommandObjectMultiwordBreakpoint::~CommandObjectMultiwordBreakpoint () = default ;
2411
2411
2412
2412
void CommandObjectMultiwordBreakpoint::VerifyIDs (
2413
- Args &args, Target * target, bool allow_locations,
2413
+ Args &args, Target & target, bool allow_locations,
2414
2414
CommandReturnObject &result, BreakpointIDList *valid_ids,
2415
2415
BreakpointName::Permissions ::PermissionKinds purpose) {
2416
2416
// args can be strings representing 1). integers (for breakpoint ids)
@@ -2427,9 +2427,9 @@ void CommandObjectMultiwordBreakpoint::VerifyIDs(
2427
2427
Args temp_args;
2428
2428
2429
2429
if (args.empty ()) {
2430
- if (target-> GetLastCreatedBreakpoint ()) {
2430
+ if (target. GetLastCreatedBreakpoint ()) {
2431
2431
valid_ids->AddBreakpointID (BreakpointID (
2432
- target-> GetLastCreatedBreakpoint ()->GetID (), LLDB_INVALID_BREAK_ID));
2432
+ target. GetLastCreatedBreakpoint ()->GetID (), LLDB_INVALID_BREAK_ID));
2433
2433
result.SetStatus (eReturnStatusSuccessFinishNoResult);
2434
2434
} else {
2435
2435
result.AppendError (
@@ -2445,7 +2445,7 @@ void CommandObjectMultiwordBreakpoint::VerifyIDs(
2445
2445
// into TEMP_ARGS.
2446
2446
2447
2447
if (llvm::Error err = BreakpointIDList::FindAndReplaceIDRanges (
2448
- args, target, allow_locations, purpose, temp_args)) {
2448
+ args, & target, allow_locations, purpose, temp_args)) {
2449
2449
result.SetError (std::move (err));
2450
2450
return ;
2451
2451
}
@@ -2469,7 +2469,7 @@ void CommandObjectMultiwordBreakpoint::VerifyIDs(
2469
2469
for (size_t i = 0 ; i < count; ++i) {
2470
2470
BreakpointID cur_bp_id = valid_ids->GetBreakpointIDAtIndex (i);
2471
2471
Breakpoint *breakpoint =
2472
- target-> GetBreakpointByID (cur_bp_id.GetBreakpointID ()).get ();
2472
+ target. GetBreakpointByID (cur_bp_id.GetBreakpointID ()).get ();
2473
2473
if (breakpoint != nullptr ) {
2474
2474
const size_t num_locations = breakpoint->GetNumLocations ();
2475
2475
if (static_cast <size_t >(cur_bp_id.GetLocationID ()) > num_locations) {
0 commit comments