Go to the documentation of this file.
9 #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_INDEX_SYMBOL_LOCATION_H
10 #define LLVM_CLANG_TOOLS_EXTRA_CLANGD_INDEX_SYMBOL_LOCATION_H
12 #include "llvm/ADT/StringRef.h"
13 #include "llvm/Support/raw_ostream.h"
38 uint32_t
rep()
const {
return LineColumnPacked; }
49 uint32_t LineColumnPacked;
56 explicit operator bool()
const {
return !llvm::StringRef(
FileURI).empty(); }
69 return std::make_tuple(L.
line(), L.
column()) ==
90 llvm::raw_ostream &
operator<<(llvm::raw_ostream &,
const SymbolLocation &);
95 #endif // LLVM_CLANG_TOOLS_EXTRA_CLANGD_INDEX_SYMBOL_LOCATION_H
Position Start
The symbol range, using half-open range [Start, End).
static constexpr uint32_t MaxLine
static constexpr unsigned ColumnBits
void setColumn(uint32_t Column)
llvm::raw_ostream & operator<<(llvm::raw_ostream &OS, const CodeCompletion &C)
void setLine(uint32_t Line)
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
bool operator<(const Ref &L, const Ref &R)
bool operator==(const Inclusion &LHS, const Inclusion &RHS)
static constexpr uint32_t MaxColumn