9#ifndef LLDB_UTILITY_SOURCELOCATIONSPEC_H
10#define LLDB_UTILITY_SOURCELOCATIONSPEC_H
50 std::optional<uint16_t> column = std::nullopt,
51 bool check_inlines =
false,
52 bool exact_match =
false);
70 explicit operator bool()
const;
168 std::optional<uint32_t>
GetLine()
const;
170 std::optional<uint16_t>
GetColumn()
const;
A class that describes the declaration location of a lldb object.
FileSpec & GetFile()
Get accessor for file specification.
"lldb/Core/SourceLocationSpec.h" A source location specifier class.
std::optional< uint32_t > GetLine() const
static bool Equal(const SourceLocationSpec &lhs, const SourceLocationSpec &rhs, bool full)
bool operator!=(const SourceLocationSpec &rhs) const
Not equal to operator.
std::string GetString() const
Declaration m_declaration
bool operator<(const SourceLocationSpec &rhs) const
Less than to operator.
bool GetCheckInlines() const
SourceLocationSpec()=delete
bool m_check_inlines
Tells if the resolver should look in inlined declaration.
std::optional< uint16_t > GetColumn() const
bool operator!() const
Logical NOT operator.
bool operator==(const SourceLocationSpec &rhs) const
Equal to operator.
void Dump(Stream &s) const
Dump this object to a Stream.
FileSpec GetFileSpec() const
bool m_exact_match
Tells if the resolver should look for an exact match.
static int Compare(const SourceLocationSpec &lhs, const SourceLocationSpec &rhs)
Compare two SourceLocationSpec objects.
bool GetExactMatch() const
A stream class that can stream formatted output to a file.
A class that represents a running process on the host machine.
Stream & operator<<(Stream &s, const Mangled &obj)