|
clang-tools 22.0.0git
|
An efficient structure of storing large set of symbol references in memory. More...
#include <Ref.h>
Classes | |
| class | Builder |
| RefSlab::Builder is a mutable container that can 'freeze' to RefSlab. More... | |
Public Types | |
| using | value_type = std::pair<SymbolID, llvm::ArrayRef<Ref>> |
| using | const_iterator = std::vector<value_type>::const_iterator |
| using | iterator = const_iterator |
Public Member Functions | |
| RefSlab ()=default | |
| RefSlab (RefSlab &&Slab)=default | |
| RefSlab & | operator= (RefSlab &&RHS)=default |
| const_iterator | begin () const |
| const_iterator | end () const |
| size_t | size () const |
| Gets the number of symbols. | |
| size_t | numRefs () const |
| bool | empty () const |
| size_t | bytes () const |
An efficient structure of storing large set of symbol references in memory.
Filenames are deduplicated.
| using clang::clangd::RefSlab::const_iterator = std::vector<value_type>::const_iterator |
| using clang::clangd::RefSlab::value_type = std::pair<SymbolID, llvm::ArrayRef<Ref>> |
|
default |
|
inline |
|
inline |
Definition at line 129 of file Ref.h.
Referenced by clang::clangd::FileSymbols::buildIndex(), and clang::clangd::FileSymbols::profile().
|
inline |
|
inline |