diff options
Diffstat (limited to 'include/lldb/API/SBSourceManager.h')
-rw-r--r-- | include/lldb/API/SBSourceManager.h | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/include/lldb/API/SBSourceManager.h b/include/lldb/API/SBSourceManager.h index 6e7358f16e77..6f1c49504d52 100644 --- a/include/lldb/API/SBSourceManager.h +++ b/include/lldb/API/SBSourceManager.h @@ -16,38 +16,35 @@ namespace lldb { -class LLDB_API SBSourceManager -{ +class LLDB_API SBSourceManager { public: - SBSourceManager (const SBDebugger &debugger); - SBSourceManager (const SBTarget &target); - SBSourceManager (const SBSourceManager &rhs); - - ~SBSourceManager(); + SBSourceManager(const SBDebugger &debugger); + SBSourceManager(const SBTarget &target); + SBSourceManager(const SBSourceManager &rhs); - const lldb::SBSourceManager & - operator = (const lldb::SBSourceManager &rhs); + ~SBSourceManager(); - size_t - DisplaySourceLinesWithLineNumbers (const lldb::SBFileSpec &file, - uint32_t line, - uint32_t context_before, - uint32_t context_after, - const char* current_line_cstr, - lldb::SBStream &s); + const lldb::SBSourceManager &operator=(const lldb::SBSourceManager &rhs); + size_t DisplaySourceLinesWithLineNumbers( + const lldb::SBFileSpec &file, uint32_t line, uint32_t context_before, + uint32_t context_after, const char *current_line_cstr, lldb::SBStream &s); + + size_t DisplaySourceLinesWithLineNumbersAndColumn( + const lldb::SBFileSpec &file, uint32_t line, uint32_t column, + uint32_t context_before, uint32_t context_after, + const char *current_line_cstr, lldb::SBStream &s); protected: - friend class SBCommandInterpreter; - friend class SBDebugger; + friend class SBCommandInterpreter; + friend class SBDebugger; - SBSourceManager(lldb_private::SourceManager *source_manager); + SBSourceManager(lldb_private::SourceManager *source_manager); private: - - std::unique_ptr<lldb_private::SourceManagerImpl> m_opaque_ap; + std::unique_ptr<lldb_private::SourceManagerImpl> m_opaque_ap; }; } // namespace lldb -#endif // LLDB_SBSourceManager_h_ +#endif // LLDB_SBSourceManager_h_ |