Fix indentation and remove the private section of SBTypeList.

SWIG doesn't care about the private section of class SBTypeList.

llvm-svn: 136976
This commit is contained in:
Johnny Chen
2011-08-05 20:30:56 +00:00
parent 36c5eb1327
commit 20208b37e3

View File

@@ -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