summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-08-05 20:30:56 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-08-05 20:30:56 +0000
commit20208b37e3ca94f2dc904037acc877fde213781a (patch)
treedeef4f5662c2b6fd886724e805d70066f54179a0 /lldb/scripts/Python/interface
parent36c5eb132761de243825daac55192cabcc2c3a7e (diff)
downloadbcm5719-llvm-20208b37e3ca94f2dc904037acc877fde213781a.tar.gz
bcm5719-llvm-20208b37e3ca94f2dc904037acc877fde213781a.zip
Fix indentation and remove the private section of SBTypeList.
SWIG doesn't care about the private section of class SBTypeList. llvm-svn: 136976
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r--lldb/scripts/Python/interface/SBType.i112
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
OpenPOWER on IntegriCloud