clang-tools
9.0.0
|
#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 |
bool | hasOverflow () const |
Static Public Attributes | |
static constexpr uint32_t | MaxLine = (1 << 20) - 1 |
static constexpr uint32_t | MaxColumn = (1 << 12) - 1 |
Definition at line 32 of file SymbolLocation.h.
|
inline |
Definition at line 33 of file SymbolLocation.h.
References setLine().
|
inline |
Definition at line 37 of file SymbolLocation.h.
Referenced by llvm::yaml::NormalizedPosition::NormalizedPosition(), clang::clangd::operator<(), and clang::clangd::operator==().
|
inline |
Definition at line 39 of file SymbolLocation.h.
|
inline |
Definition at line 35 of file SymbolLocation.h.
References setColumn().
Referenced by llvm::yaml::NormalizedPosition::NormalizedPosition(), clang::clangd::operator<(), and clang::clangd::operator==().
void clang::clangd::SymbolLocation::Position::setColumn | ( | uint32_t | Column | ) |
Definition at line 24 of file SymbolLocation.cpp.
References MaxColumn.
Referenced by llvm::yaml::NormalizedPosition::denormalize(), and line().
void clang::clangd::SymbolLocation::Position::setLine | ( | uint32_t | Line | ) |
Definition at line 17 of file SymbolLocation.cpp.
References MaxLine.
Referenced by llvm::yaml::NormalizedPosition::denormalize(), and Position().
|
static |
Definition at line 44 of file SymbolLocation.h.
Referenced by hasOverflow(), and setColumn().
|
static |
Definition at line 43 of file SymbolLocation.h.
Referenced by hasOverflow(), and setLine().