clang-tools 20.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 E, and 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.
Referenced by clang::clangd::getRefs(), clang::clangd::FileShardedIndex::getShard(), clang::clangd::SymbolCollector::handleMacros(), and clang::clangd::readYAML().