summaryrefslogtreecommitdiff
path: root/lldb/include/lldb/API/SBThreadPlan.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/include/lldb/API/SBThreadPlan.h')
-rw-r--r--lldb/include/lldb/API/SBThreadPlan.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/lldb/include/lldb/API/SBThreadPlan.h b/lldb/include/lldb/API/SBThreadPlan.h
index 0d166b35ae4a..d02ab80f76a7 100644
--- a/lldb/include/lldb/API/SBThreadPlan.h
+++ b/lldb/include/lldb/API/SBThreadPlan.h
@@ -13,6 +13,12 @@
#include <cstdio>
+namespace lldb_private {
+namespace python {
+class SWIGBridge;
+}
+} // namespace lldb_private
+
namespace lldb {
class LLDB_API SBThreadPlan {
@@ -22,8 +28,6 @@ public:
SBThreadPlan(const lldb::SBThreadPlan &threadPlan);
- SBThreadPlan(const lldb::ThreadPlanSP &lldb_object_sp);
-
SBThreadPlan(lldb::SBThread &thread, const char *class_name);
SBThreadPlan(lldb::SBThread &thread, const char *class_name,
@@ -112,6 +116,11 @@ public:
lldb::SBStructuredData &args_data,
SBError &error);
+protected:
+ friend class lldb_private::python::SWIGBridge;
+
+ SBThreadPlan(const lldb::ThreadPlanSP &lldb_object_sp);
+
private:
friend class SBBreakpoint;
friend class SBBreakpointLocation;