summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/include/lldb/API/SBEvent.h2
-rw-r--r--lldb/test/python_api/default-constructor/sb_event.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/lldb/include/lldb/API/SBEvent.h b/lldb/include/lldb/API/SBEvent.h
index 7869b814d80..d65bdc4520f 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 ae9d44ea492..c64f9ba927c 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()
OpenPOWER on IntegriCloud