clang-tools 20.0.0git
|
An immutable symbol container that stores a set of symbols. More...
#include <Symbol.h>
Classes | |
class | Builder |
SymbolSlab::Builder is a mutable container that can 'freeze' to SymbolSlab. More... | |
Public Types | |
using | const_iterator = std::vector< Symbol >::const_iterator |
using | iterator = const_iterator |
using | value_type = Symbol |
using | size_type = size_t |
Public Member Functions | |
SymbolSlab ()=default | |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | find (const SymbolID &SymID) const |
size_type | size () const |
bool | empty () const |
size_t | bytes () const |
An immutable symbol container that stores a set of symbols.
The container will maintain the lifetime of the symbols.
using clang::clangd::SymbolSlab::const_iterator = std::vector<Symbol>::const_iterator |
using clang::clangd::SymbolSlab::size_type = size_t |
|
default |
Referenced by clang::clangd::SymbolSlab::Builder::build().
|
inline |
|
inline |
Definition at line 215 of file Symbol.h.
Referenced by clang::clangd::MemIndex::build().
|
inline |
Definition at line 208 of file Symbol.h.
Referenced by clang::clangd::MergedIndex::fuzzyFind().
SymbolSlab::const_iterator clang::clangd::SymbolSlab::find | ( | const SymbolID & | SymID | ) | const |
Definition at line 39 of file Symbol.cpp.
References ID.
Referenced by clang::clangd::MergedIndex::fuzzyFind().