clang-tools
8.0.0
|
#include <Index.h>
Public Member Functions | |
Position () | |
void | setLine (uint32_t Line) |
uint32_t | line () const |
void | setColumn (uint32_t Column) |
uint32_t | column () const |
bool | hasOverflow () const |
Static Public Attributes | |
static constexpr uint32_t | MaxLine = (1 << 20) - 1 |
static constexpr uint32_t | MaxColumn = (1 << 12) - 1 |
|
inline |
|
inline |
Definition at line 45 of file Index.h.
Referenced by llvm::yaml::NormalizedPosition::NormalizedPosition(), clang::clangd::operator<(), clang::clangd::operator<<(), and clang::clangd::operator==().
|
inline |
|
inline |
Definition at line 43 of file Index.h.
References setColumn().
Referenced by llvm::yaml::NormalizedPosition::NormalizedPosition(), clang::clangd::operator<(), clang::clangd::operator<<(), and clang::clangd::operator==().
void clang::clangd::SymbolLocation::Position::setColumn | ( | uint32_t | Column | ) |
Definition at line 29 of file Index.cpp.
References MaxColumn.
Referenced by llvm::yaml::NormalizedPosition::denormalize(), and line().
void clang::clangd::SymbolLocation::Position::setLine | ( | uint32_t | Line | ) |
Definition at line 22 of file Index.cpp.
References MaxLine.
Referenced by llvm::yaml::NormalizedPosition::denormalize(), and Position().
|
static |
Definition at line 52 of file Index.h.
Referenced by hasOverflow(), and setColumn().
|
static |
Definition at line 51 of file Index.h.
Referenced by hasOverflow(), and setLine().