clang-tools 17.0.0git
|
#include <SymbolLocation.h>
Public Member Functions | |
Position () | |
void | setLine (uint32_t Line) |
uint32_t | line () const |
void | setColumn (uint32_t Column) |
uint32_t | column () const |
uint32_t | rep () const |
bool | hasOverflow () const |
Static Public Attributes | |
static constexpr unsigned | ColumnBits = 12 |
static constexpr uint32_t | MaxLine = (1 << (32 - ColumnBits)) - 1 |
static constexpr uint32_t | MaxColumn = (1 << ColumnBits) - 1 |
Definition at line 32 of file SymbolLocation.h.
|
inline |
Definition at line 33 of file SymbolLocation.h.
|
inline |
Definition at line 37 of file SymbolLocation.h.
References MaxColumn.
Referenced by hasOverflow(), clang::clangd::operator<(), clang::clangd::operator==(), and setLine().
|
inline |
|
inline |
Definition at line 35 of file SymbolLocation.h.
References ColumnBits.
Referenced by hasOverflow(), clang::clangd::operator<(), and clang::clangd::operator==().
|
inline |
Definition at line 38 of file SymbolLocation.h.
void clang::clangd::SymbolLocation::Position::setColumn | ( | uint32_t | Column | ) |
Definition at line 22 of file SymbolLocation.cpp.
Referenced by clang::clangd::SymbolCollector::handleMacros().
void clang::clangd::SymbolLocation::Position::setLine | ( | uint32_t | Line | ) |
Definition at line 17 of file SymbolLocation.cpp.
References column(), ColumnBits, and MaxLine.
Referenced by clang::clangd::SymbolCollector::handleMacros().
|
staticconstexpr |
Definition at line 44 of file SymbolLocation.h.
|
staticconstexpr |
Definition at line 46 of file SymbolLocation.h.
Referenced by column(), and hasOverflow().
|
staticconstexpr |
Definition at line 45 of file SymbolLocation.h.
Referenced by hasOverflow(), and setLine().