[Lldb-commits] [lldb] r136976 - /lldb/trunk/scripts/Python/interface/SBType.i
Johnny Chen
johnny.chen at apple.com
Fri Aug 5 13:30:56 PDT 2011
Author: johnny
Date: Fri Aug 5 15:30:56 2011
New Revision: 136976
URL: http://llvm.org/viewvc/llvm-project?rev=136976&view=rev
Log:
Fix indentation and remove the private section of SBTypeList.
SWIG doesn't care about the private section of class SBTypeList.
Modified:
lldb/trunk/scripts/Python/interface/SBType.i
Modified: lldb/trunk/scripts/Python/interface/SBType.i
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/interface/SBType.i?rev=136976&r1=136975&r2=136976&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/interface/SBType.i (original)
+++ lldb/trunk/scripts/Python/interface/SBType.i Fri Aug 5 15:30:56 2011
@@ -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
More information about the lldb-commits
mailing list