clang-tools 22.0.0git
|
RefSlab::Builder is a mutable container that can 'freeze' to RefSlab. More...
#include <Ref.h>
Public Member Functions | |
Builder () | |
void | insert (const SymbolID &ID, const Ref &S) |
Adds a ref to the slab. Deep copy: Strings will be owned by the slab. | |
RefSlab | build () && |
Consumes the builder to finalize the slab. |
Friends | |
struct | llvm::DenseMapInfo< Entry > |
RefSlab::Builder is a mutable container that can 'freeze' to RefSlab.
RefSlab clang::clangd::RefSlab::Builder::build | ( | ) | && |
Consumes the builder to finalize the slab.
Definition at line 42 of file Ref.cpp.
References clang::clangd::RefSlab::RefSlab().
Adds a ref to the slab. Deep copy: Strings will be owned by the slab.
Definition at line 36 of file Ref.cpp.
References clang::clangd::SymbolLocation::FileURI, and clang::clangd::Ref::Location.
Referenced by clang::clangd::getRefs(), and clang::clangd::FileShardedIndex::getShard().
|
friend |
Definition at line 141 of file Ref.h.
References clang::clangd::Reference, and clang::clangd::RefSlab::RefSlab().