[Lldb-commits] [lldb] b04bc87 - [lldb][NFC] Delete unused function Breakpoint::GetEventIdentifier

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 6 17:14:27 PDT 2023


Author: Alex Langford
Date: 2023-04-06T17:14:09-07:00
New Revision: b04bc87c9edca0e93330948b88292ebcde891ce2

URL: https://github.com/llvm/llvm-project/commit/b04bc87c9edca0e93330948b88292ebcde891ce2
DIFF: https://github.com/llvm/llvm-project/commit/b04bc87c9edca0e93330948b88292ebcde891ce2.diff

LOG: [lldb][NFC] Delete unused function Breakpoint::GetEventIdentifier

This is unused

Differential Revision: https://reviews.llvm.org/D147746

Added: 
    

Modified: 
    lldb/include/lldb/Breakpoint/Breakpoint.h
    lldb/source/Breakpoint/Breakpoint.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/include/lldb/Breakpoint/Breakpoint.h b/lldb/include/lldb/Breakpoint/Breakpoint.h
index 7490982cb05ba..bd5c377e5014b 100644
--- a/lldb/include/lldb/Breakpoint/Breakpoint.h
+++ b/lldb/include/lldb/Breakpoint/Breakpoint.h
@@ -80,7 +80,6 @@ namespace lldb_private {
 class Breakpoint : public std::enable_shared_from_this<Breakpoint>,
                    public Stoppoint {
 public:
-  static ConstString GetEventIdentifier();
   static const char *
       BreakpointEventTypeAsCString(lldb::BreakpointEventType type);
 

diff  --git a/lldb/source/Breakpoint/Breakpoint.cpp b/lldb/source/Breakpoint/Breakpoint.cpp
index bdaf3c905d042..9a2dbc0c143f1 100644
--- a/lldb/source/Breakpoint/Breakpoint.cpp
+++ b/lldb/source/Breakpoint/Breakpoint.cpp
@@ -37,11 +37,6 @@ using namespace lldb;
 using namespace lldb_private;
 using namespace llvm;
 
-ConstString Breakpoint::GetEventIdentifier() {
-  static ConstString g_identifier("event-identifier.breakpoint.changed");
-  return g_identifier;
-}
-
 const char *Breakpoint::g_option_names[static_cast<uint32_t>(
     Breakpoint::OptionNames::LastOptionName)]{"Names", "Hardware"};
 


        


More information about the lldb-commits mailing list