[Lldb-commits] [lldb] [lldb][sbapi][NFC] Remove commented out typedef from SBBreakpointName (PR #116434)
Chelsea Cassanova via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 15 12:07:16 PST 2024
https://github.com/chelcassanova created https://github.com/llvm/llvm-project/pull/116434
SBBreakpointName has a typedef for BreakpointHitCallback used in SetCallback(), but this typedef has been commented out in SBBreakpointName and added instead to SBDefines. Since SB API callbacks are placed in SBDefines, this commit removes this commented out portion.
>From 1e1301c3ef833763e168d1462065bee588b759df Mon Sep 17 00:00:00 2001
From: Chelsea Cassanova <chelsea_cassanova at apple.com>
Date: Fri, 15 Nov 2024 12:00:47 -0800
Subject: [PATCH] [lldb][sbapi] Remove commented out typedef from
SBBreakpointName
SBBreakpointName has a typedef for BreakpointHitCallback used in
SetCallback(), but this typedef has been commented out in
SBBreakpointName and added instead to SBDefines. Since SB API callbacks
are placed in SBDefines, this commit removes this commented out portion.
---
lldb/include/lldb/API/SBBreakpointName.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/lldb/include/lldb/API/SBBreakpointName.h b/lldb/include/lldb/API/SBBreakpointName.h
index 838c66385bd121..4b7ad0cce345e5 100644
--- a/lldb/include/lldb/API/SBBreakpointName.h
+++ b/lldb/include/lldb/API/SBBreakpointName.h
@@ -17,10 +17,6 @@ namespace lldb {
class LLDB_API SBBreakpointName {
public:
-// typedef bool (*BreakpointHitCallback)(void *baton, SBProcess &process,
-// SBThread &thread,
-// lldb::SBBreakpointLocation &location);
-
SBBreakpointName();
SBBreakpointName(SBTarget &target, const char *name);
More information about the lldb-commits
mailing list