clang-tools
11.0.0
|
#include <TUScheduler.h>
Public Attributes | |
unsigned | AsyncThreadsCount = getDefaultAsyncThreadsCount() |
Number of concurrent actions. More... | |
bool | StorePreamblesInMemory = false |
Cache (large) preamble data in RAM rather than temporary files on disk. More... | |
DebouncePolicy | UpdateDebounce |
Time to wait after an update to see if another one comes along. More... | |
ASTRetentionPolicy | RetentionPolicy |
Determines when to keep idle ASTs in memory for future use. More... | |
bool | AsyncPreambleBuilds = true |
Whether to run PreamblePeer asynchronously. More... | |
std::function< Context(PathRef)> | ContextProvider |
Used to create a context that wraps each single operation. More... | |
Definition at line 178 of file TUScheduler.h.
bool clang::clangd::TUScheduler::Options::AsyncPreambleBuilds = true |
Whether to run PreamblePeer asynchronously.
No-op if AsyncThreadsCount is 0.
Definition at line 197 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 183 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 202 of file TUScheduler.h.
ASTRetentionPolicy clang::clangd::TUScheduler::Options::RetentionPolicy |
Determines when to keep idle ASTs in memory for future use.
Definition at line 193 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 186 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 190 of file TUScheduler.h.