clang-tools 19.0.0git
Public Member Functions | List of all members
clang::clangd::RelationSlab::Builder Class Reference

RelationSlab::Builder is a mutable container that can 'freeze' to RelationSlab. More...

#include <Relation.h>

Public Member Functions

void insert (const Relation &R)
 Adds a relation to the slab.
 
RelationSlab build () &&
 Consumes the builder to finalize the slab.
 

Detailed Description

RelationSlab::Builder is a mutable container that can 'freeze' to RelationSlab.

Definition at line 75 of file Relation.h.

Member Function Documentation

◆ build()

RelationSlab clang::clangd::RelationSlab::Builder::build ( ) &&

Consumes the builder to finalize the slab.

Definition at line 41 of file Relation.cpp.

◆ insert()

void clang::clangd::RelationSlab::Builder::insert ( const Relation R)
inline

Adds a relation to the slab.

Definition at line 78 of file Relation.h.

Referenced by clang::clangd::FileShardedIndex::getShard(), and clang::clangd::readYAML().


The documentation for this class was generated from the following files: