1 //===-- SBSourceManager.h ---------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLDB_SBSourceManager_h_
11 #define LLDB_SBSourceManager_h_
13 #include "lldb/API/SBDefines.h"
22 SBSourceManager (const SBDebugger &debugger);
23 SBSourceManager (const SBTarget &target);
24 SBSourceManager (const SBSourceManager &rhs);
28 const lldb::SBSourceManager &
29 operator = (const lldb::SBSourceManager &rhs);
32 DisplaySourceLinesWithLineNumbers (const lldb::SBFileSpec &file,
34 uint32_t context_before,
35 uint32_t context_after,
36 const char* current_line_cstr,
41 friend class SBCommandInterpreter;
42 friend class SBDebugger;
44 SBSourceManager(lldb_private::SourceManager *source_manager);
48 std::unique_ptr<lldb_private::SourceManagerImpl> m_opaque_ap;
53 #endif // LLDB_SBSourceManager_h_