Skip to content

Commit dd427aa

Browse files
author
Piyush Jaiswal
committed
Fix parameter names and update comments
1 parent 2fca445 commit dd427aa

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

lldb/include/lldb/Target/Target.h

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,17 +1347,9 @@ class Target : public std::enable_shared_from_this<Target>,
13471347
uint32_t byte_size);
13481348

13491349
/// Sends a breakpoint notification event if any listener is registered.
1350-
/// \param[in] bp
1351-
/// The breakpoint to send a nofication for.
1352-
/// \param[in] eventKind
1353-
/// The kind of event that occurred.
13541350
void NotifyBreakpointChanged(Breakpoint &bp,
1355-
lldb::BreakpointEventType eventKind);
1351+
lldb::BreakpointEventType event_kind);
13561352
/// Sends a breakpoint notification event if any listener is registered.
1357-
/// \param[in] bp
1358-
/// The breakpoint that has changed.
1359-
/// \param[in] data
1360-
/// The data associated with the event.
13611353
void NotifyBreakpointChanged(Breakpoint &bp,
13621354
const lldb::EventDataSP &breakpoint_data_sp);
13631355

@@ -1371,7 +1363,7 @@ class Target : public std::enable_shared_from_this<Target>,
13711363
StopHook(const StopHook &rhs);
13721364
virtual ~StopHook() = default;
13731365

1374-
enum class StopHookKind : uint32_t { CommandBased = 0, ScriptBased };
1366+
enum class StopHookKind : uint32_t { CommandBased = 0, ScriptBased };
13751367
enum class StopHookResult : uint32_t {
13761368
KeepStopped = 0,
13771369
RequestContinue,

lldb/source/Breakpoint/Breakpoint.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,10 +1098,9 @@ bool Breakpoint::EvaluatePrecondition(StoppointCallbackContext &context) {
10981098
}
10991099

11001100
void Breakpoint::SendBreakpointChangedEvent(
1101-
lldb::BreakpointEventType eventKind) {
1102-
if (!IsInternal()) {
1103-
GetTarget().NotifyBreakpointChanged(*this, eventKind);
1104-
}
1101+
lldb::BreakpointEventType event_kind) {
1102+
if (!IsInternal())
1103+
GetTarget().NotifyBreakpointChanged(*this, event_kind);
11051104
}
11061105

11071106
void Breakpoint::SendBreakpointChangedEvent(

0 commit comments

Comments
 (0)