14#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_INDEX_BACKGROUNDREBUILD_H
15#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_INDEX_BACKGROUNDREBUILD_H
78 void maybeRebuild(
const char *Reason, std::function<
bool()> Check);
79 bool enoughTUsToRebuild()
const;
83 bool ShouldStop =
false;
85 unsigned StartedVersion = 0;
86 unsigned ActiveVersion = 0;
88 unsigned IndexedTUs = 0;
89 unsigned IndexedTUsAtLastRebuild = 0;
92 unsigned LoadedShards;
BackgroundIndexRebuilder(SwapIndex *Target, FileSymbols *Source, unsigned Threads)
void loadedShard(size_t ShardCount)
const unsigned TUsBeforeFirstBuild
const unsigned TUsBeforeRebuild
A container of slabs associated with a key.
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//