diff options
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r-- | lldb/scripts/Python/interface/SBType.i | 112 |
1 files changed, 54 insertions, 58 deletions
diff --git a/lldb/scripts/Python/interface/SBType.i b/lldb/scripts/Python/interface/SBType.i index 3bc4c988798..88fc7a3de63 100644 --- a/lldb/scripts/Python/interface/SBType.i +++ b/lldb/scripts/Python/interface/SBType.i @@ -9,63 +9,59 @@ namespace lldb { - class SBType - { - public: - - SBType (const SBType &rhs); - - ~SBType (); - - bool - IsValid() const; - - size_t - GetByteSize() const; - - bool - IsPointerType() const; - - bool - IsReferenceType() const; - - SBType - GetPointerType() const; - - SBType - GetPointeeType() const; - - SBType - GetReferenceType() const; - - SBType - GetDereferencedType() const; - - SBType - GetBasicType(lldb::BasicType type) const; - - const char* - GetName(); - }; - - class SBTypeList - { - public: - SBTypeList(); - - void - Append(const SBType& type); - - SBType - GetTypeAtIndex(int index); - - int - GetSize(); - - ~SBTypeList(); - - private: - std::auto_ptr<SBTypeListImpl> m_content; - }; +class SBType +{ +public: + SBType (const SBType &rhs); + + ~SBType (); + + bool + IsValid() const; + + size_t + GetByteSize() const; + + bool + IsPointerType() const; + + bool + IsReferenceType() const; + + SBType + GetPointerType() const; + + SBType + GetPointeeType() const; + + SBType + GetReferenceType() const; + + SBType + GetDereferencedType() const; + + SBType + GetBasicType(lldb::BasicType type) const; + + const char* + GetName(); +}; + +class SBTypeList +{ +public: + SBTypeList(); + + void + Append(const SBType& type); + + SBType + GetTypeAtIndex(int index); + + int + GetSize(); + + ~SBTypeList(); +}; } // namespace lldb |