clang-tools 19.0.0git
Public Member Functions | Public Attributes | List of all members
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.

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.

Referenced by clang::clangd::BackgroundIndex::stop().

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

◆ 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: