summaryrefslogtreecommitdiff
path: root/lldb/include/lldb/API/SBTypeSummary.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/include/lldb/API/SBTypeSummary.h')
-rw-r--r--lldb/include/lldb/API/SBTypeSummary.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/lldb/include/lldb/API/SBTypeSummary.h b/lldb/include/lldb/API/SBTypeSummary.h
index 5c9c6b611925..40fa146b4e31 100644
--- a/lldb/include/lldb/API/SBTypeSummary.h
+++ b/lldb/include/lldb/API/SBTypeSummary.h
@@ -12,6 +12,12 @@
#include "lldb/API/SBDefines.h"
+namespace lldb_private {
+namespace python {
+class SWIGBridge;
+}
+} // namespace lldb_private
+
namespace lldb {
class LLDB_API SBTypeSummaryOptions {
public:
@@ -19,9 +25,6 @@ public:
SBTypeSummaryOptions(const lldb::SBTypeSummaryOptions &rhs);
-#ifndef SWIG
- SBTypeSummaryOptions(const lldb_private::TypeSummaryOptions &lldb_object);
-#endif
~SBTypeSummaryOptions();
@@ -39,6 +42,11 @@ public:
protected:
friend class SBValue;
+ friend class SBTypeSummary;
+
+ friend class lldb_private::python::SWIGBridge;
+
+ SBTypeSummaryOptions(const lldb_private::TypeSummaryOptions &lldb_object);
lldb_private::TypeSummaryOptions *operator->();