clang-tools 19.0.0git
Public Attributes | List of all members
clang::clangd::BackgroundIndex::Options Struct Reference

#include <Background.h>

Public Attributes

size_t ThreadPoolSize = 4
 
llvm::ThreadPriority IndexingPriority = llvm::ThreadPriority::Low
 
std::function< void(BackgroundQueue::Stats)> OnProgress = nullptr
 
std::function< Context(PathRef)> ContextProvider = nullptr
 

Detailed Description

Definition at line 136 of file Background.h.

Member Data Documentation

◆ ContextProvider

std::function<Context(PathRef)> clang::clangd::BackgroundIndex::Options::ContextProvider = nullptr

Definition at line 147 of file Background.h.

Referenced by clang::clangd::ClangdServer::ClangdServer().

◆ IndexingPriority

llvm::ThreadPriority clang::clangd::BackgroundIndex::Options::IndexingPriority = llvm::ThreadPriority::Low

Definition at line 141 of file Background.h.

◆ OnProgress

std::function<void(BackgroundQueue::Stats)> clang::clangd::BackgroundIndex::Options::OnProgress = nullptr

Definition at line 143 of file Background.h.

Referenced by clang::clangd::ClangdServer::ClangdServer().

◆ ThreadPoolSize

size_t clang::clangd::BackgroundIndex::Options::ThreadPoolSize = 4

Definition at line 139 of file Background.h.

Referenced by clang::clangd::ClangdServer::ClangdServer().


The documentation for this struct was generated from the following file: