clang-tools 20.0.0git
|
#include <TUScheduler.h>
Public Attributes | |
unsigned | AsyncThreadsCount = getDefaultAsyncThreadsCount() |
Number of concurrent actions. | |
bool | StorePreamblesInMemory = false |
Cache (large) preamble data in RAM rather than temporary files on disk. | |
DebouncePolicy | UpdateDebounce |
Time to wait after an update to see if another one comes along. | |
ASTRetentionPolicy | RetentionPolicy |
Determines when to keep idle ASTs in memory for future use. | |
clangd::PreambleThrottler * | PreambleThrottler = nullptr |
This throttler controls which preambles may be built at a given time. | |
std::function< Context(PathRef)> | ContextProvider |
Used to create a context that wraps each single operation. | |
Definition at line 215 of file TUScheduler.h.
unsigned clang::clangd::TUScheduler::Options::AsyncThreadsCount = getDefaultAsyncThreadsCount() |
Number of concurrent actions.
Governs per-file worker threads and threads spawned for other tasks. (This does not prevent threads being spawned, but rather blocks them). If 0, executes actions synchronously on the calling thread.
Definition at line 220 of file TUScheduler.h.
Used to create a context that wraps each single operation.
Typically to inject per-file configuration. If the path is empty, context sholud be "generic".
Definition at line 238 of file TUScheduler.h.
Referenced by clang::clangd::TUScheduler::TUScheduler().
clangd::PreambleThrottler* clang::clangd::TUScheduler::Options::PreambleThrottler = nullptr |
This throttler controls which preambles may be built at a given time.
Definition at line 233 of file TUScheduler.h.
ASTRetentionPolicy clang::clangd::TUScheduler::Options::RetentionPolicy |
Determines when to keep idle ASTs in memory for future use.
Definition at line 230 of file TUScheduler.h.
bool clang::clangd::TUScheduler::Options::StorePreamblesInMemory = false |
Cache (large) preamble data in RAM rather than temporary files on disk.
Definition at line 223 of file TUScheduler.h.
DebouncePolicy clang::clangd::TUScheduler::Options::UpdateDebounce |
Time to wait after an update to see if another one comes along.
This tries to ensure we rebuild once the user stops typing.
Definition at line 227 of file TUScheduler.h.