32 m_opaque_up = std::make_unique<Declaration>(*lldb_object_ptr);
45 ref() = lldb_object_ref;
52 return this->
operator bool();
54SBDeclaration::operator bool()
const {
57 return m_opaque_up.get() && m_opaque_up->IsValid();
115 if (lhs_ptr && rhs_ptr)
118 return lhs_ptr == rhs_ptr;
127 if (lhs_ptr && rhs_ptr)
130 return lhs_ptr != rhs_ptr;
139 m_opaque_up = std::make_unique<lldb_private::Declaration>();
154 m_opaque_up->GetFile().GetPath(file_path,
sizeof(file_path));
#define LLDB_INSTRUMENT_VA(...)
void SetColumn(uint32_t column)
bool GetDescription(lldb::SBStream &description)
const lldb_private::Declaration * operator->() const
void SetLine(uint32_t line)
lldb_private::Declaration * get()
lldb_private::Declaration & ref()
bool operator==(const lldb::SBDeclaration &rhs) const
uint32_t GetColumn() const
void SetFileSpec(lldb::SBFileSpec filespec)
lldb::SBFileSpec GetFileSpec() const
bool operator!=(const lldb::SBDeclaration &rhs) const
std::unique_ptr< lldb_private::Declaration > m_opaque_up
const lldb::SBDeclaration & operator=(const lldb::SBDeclaration &rhs)
void SetDeclaration(const lldb_private::Declaration &lldb_object_ref)
void SetFileSpec(const lldb_private::FileSpec &fspec)
const lldb_private::FileSpec & ref() const
lldb_private::Stream & ref()
A class that describes the declaration location of a lldb object.
void SetLine(uint32_t line)
Set accessor for the declaration line number.
void SetColumn(uint16_t column)
Set accessor for the declaration column number.
void SetFile(const FileSpec &file_spec)
Set accessor for the declaration file specification.
static int Compare(const Declaration &lhs, const Declaration &rhs)
Compare two declaration objects.
A stream class that can stream formatted output to a file.
size_t Printf(const char *format,...) __attribute__((format(printf
Output printf formatted output to the stream.
size_t PutCString(llvm::StringRef cstr)
Output a C string to the stream.
A class that represents a running process on the host machine.
std::unique_ptr< T > clone(const std::unique_ptr< T > &src)