Skip to content

Commit eae8479

Browse files
committed
[NFC][lldb] Fix outdated comment
1 parent 5f6caec commit eae8479

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lldb/include/lldb/Target/Target.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,8 +1444,8 @@ class Target : public std::enable_shared_from_this<Target>,
14441444

14451445
private:
14461446
StringList m_commands;
1447-
// Use CreateStopHook to make a new empty stop hook. The SetActionFromString
1448-
// and fill it with commands, and SetSpecifier to set the specifier shared
1447+
// Use CreateStopHook to make a new empty stop hook. Use SetActionFromString
1448+
// to fill it with commands, and SetSpecifier to set the specifier shared
14491449
// pointer (can be null, that will match anything.)
14501450
StopHookCommandLine(lldb::TargetSP target_sp, lldb::user_id_t uid)
14511451
: StopHook(target_sp, uid) {}
@@ -1519,7 +1519,7 @@ class Target : public std::enable_shared_from_this<Target>,
15191519
typedef std::shared_ptr<StopHook> StopHookSP;
15201520

15211521
/// Add an empty stop hook to the Target's stop hook list, and returns a
1522-
/// shared pointer to it in new_hook.
1522+
/// shared pointer to the new hook.
15231523
StopHookSP CreateStopHook(StopHook::StopHookKind kind, bool internal = false);
15241524

15251525
/// If you tried to create a stop hook, and that failed, call this to

0 commit comments

Comments
 (0)