diff options
Diffstat (limited to 'lldb/include/lldb/API/SBSymbolContextList.h')
-rw-r--r-- | lldb/include/lldb/API/SBSymbolContextList.h | 54 |
1 files changed, 21 insertions, 33 deletions
diff --git a/lldb/include/lldb/API/SBSymbolContextList.h b/lldb/include/lldb/API/SBSymbolContextList.h index 79dcccdcbf8..e7299dd5330 100644 --- a/lldb/include/lldb/API/SBSymbolContextList.h +++ b/lldb/include/lldb/API/SBSymbolContextList.h @@ -15,55 +15,43 @@ namespace lldb { -class LLDB_API SBSymbolContextList -{ +class LLDB_API SBSymbolContextList { public: - SBSymbolContextList (); + SBSymbolContextList(); - SBSymbolContextList (const lldb::SBSymbolContextList& rhs); + SBSymbolContextList(const lldb::SBSymbolContextList &rhs); - ~SBSymbolContextList (); + ~SBSymbolContextList(); - const lldb::SBSymbolContextList & - operator = (const lldb::SBSymbolContextList &rhs); + const lldb::SBSymbolContextList & + operator=(const lldb::SBSymbolContextList &rhs); - bool - IsValid () const; + bool IsValid() const; - uint32_t - GetSize() const; + uint32_t GetSize() const; - lldb::SBSymbolContext - GetContextAtIndex (uint32_t idx); - - bool - GetDescription (lldb::SBStream &description); + lldb::SBSymbolContext GetContextAtIndex(uint32_t idx); - void - Append (lldb::SBSymbolContext &sc); - - void - Append (lldb::SBSymbolContextList &sc_list); - - void - Clear(); + bool GetDescription(lldb::SBStream &description); -protected: + void Append(lldb::SBSymbolContext &sc); + + void Append(lldb::SBSymbolContextList &sc_list); - friend class SBModule; - friend class SBTarget; + void Clear(); - lldb_private::SymbolContextList* - operator->() const; +protected: + friend class SBModule; + friend class SBTarget; - lldb_private::SymbolContextList& - operator*() const; + lldb_private::SymbolContextList *operator->() const; + + lldb_private::SymbolContextList &operator*() const; private: - std::unique_ptr<lldb_private::SymbolContextList> m_opaque_ap; + std::unique_ptr<lldb_private::SymbolContextList> m_opaque_ap; }; - } // namespace lldb #endif // LLDB_SBSymbolContextList_h_ |