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_cassan...@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); _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits