diff --git a/lldb/include/lldb/API/SBEvent.h b/lldb/include/lldb/API/SBEvent.h index 7869b814d807..d65bdc4520f0 100644 --- a/lldb/include/lldb/API/SBEvent.h +++ b/lldb/include/lldb/API/SBEvent.h @@ -49,8 +49,10 @@ public: lldb::SBBroadcaster GetBroadcaster () const; +#ifndef SWIG bool BroadcasterMatchesPtr (const lldb::SBBroadcaster *broadcaster); +#endif bool BroadcasterMatchesRef (const lldb::SBBroadcaster &broadcaster); diff --git a/lldb/test/python_api/default-constructor/sb_event.py b/lldb/test/python_api/default-constructor/sb_event.py index ae9d44ea4927..c64f9ba927c2 100644 --- a/lldb/test/python_api/default-constructor/sb_event.py +++ b/lldb/test/python_api/default-constructor/sb_event.py @@ -12,7 +12,6 @@ def fuzz_obj(obj): # Do fuzz testing on the broadcaster obj, it should not crash lldb. import sb_broadcaster sb_broadcaster.fuzz_obj(broadcaster) - obj.BroadcasterMatchesPtr(None) obj.BroadcasterMatchesRef(broadcaster) obj.GetDescription(lldb.SBStream()) obj.Clear()