11#include "llvm/ADT/StringExtras.h"
18 std::optional<uint16_t> column,
19 bool check_inlines,
bool exact_match)
35 return !(*
this == rhs);
54 return full ? lhs == rhs
static int Compare(const Declaration &lhs, const Declaration &rhs)
Compare two declaration objects.
"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
SourceLocationSpec(FileSpec file_spec, uint32_t line, std::optional< uint16_t > column=std::nullopt, bool check_inlines=false, bool exact_match=false)
Constructor.
llvm::StringRef GetString() const
A stream class that can stream formatted output to a file.
#define LLDB_INVALID_LINE_NUMBER
#define LLDB_INVALID_COLUMN_NUMBER
A class that represents a running process on the host machine.
Stream & operator<<(Stream &s, const Mangled &obj)