clang-tools 22.0.0git
clang::clangd::BackgroundIndexRebuilder Class Reference

#include <BackgroundRebuild.h>

Public Member Functions

 BackgroundIndexRebuilder (SwapIndex *Target, FileSymbols *Source, unsigned Threads)
void indexedTU ()
void idle ()
void startLoading ()
void loadedShard (size_t ShardCount)
void doneLoading ()
void shutdown ()

Public Attributes

const unsigned TUsBeforeFirstBuild
const unsigned TUsBeforeRebuild = 100

Detailed Description

Definition at line 47 of file BackgroundRebuild.h.

Constructor & Destructor Documentation

◆ BackgroundIndexRebuilder()

clang::clangd::BackgroundIndexRebuilder::BackgroundIndexRebuilder ( SwapIndex * Target,
FileSymbols * Source,
unsigned Threads )
inline

Definition at line 49 of file BackgroundRebuild.h.

References TUsBeforeFirstBuild.

Member Function Documentation

◆ doneLoading()

void clang::clangd::BackgroundIndexRebuilder::doneLoading ( )

Definition at line 65 of file BackgroundRebuild.cpp.

◆ idle()

void clang::clangd::BackgroundIndexRebuilder::idle ( )

Definition at line 46 of file BackgroundRebuild.cpp.

◆ indexedTU()

void clang::clangd::BackgroundIndexRebuilder::indexedTU ( )

Definition at line 35 of file BackgroundRebuild.cpp.

◆ loadedShard()

void clang::clangd::BackgroundIndexRebuilder::loadedShard ( size_t ShardCount)

Definition at line 60 of file BackgroundRebuild.cpp.

◆ shutdown()

void clang::clangd::BackgroundIndexRebuilder::shutdown ( )

Definition at line 76 of file BackgroundRebuild.cpp.

◆ startLoading()

void clang::clangd::BackgroundIndexRebuilder::startLoading ( )

Definition at line 54 of file BackgroundRebuild.cpp.

Member Data Documentation

◆ TUsBeforeFirstBuild

const unsigned clang::clangd::BackgroundIndexRebuilder::TUsBeforeFirstBuild

Definition at line 73 of file BackgroundRebuild.h.

Referenced by BackgroundIndexRebuilder().

◆ TUsBeforeRebuild

const unsigned clang::clangd::BackgroundIndexRebuilder::TUsBeforeRebuild = 100

Definition at line 74 of file BackgroundRebuild.h.


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