clang-tools 22.0.0git
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.

References build(), and clang::clangd::RelationSlab::RelationSlab().

Referenced by build().

◆ 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().


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