clang-tools
7.0.0
|
#include <ClangdServer.h>
Public Attributes | |
unsigned | AsyncThreadsCount = getDefaultAsyncThreadsCount() |
To process requests asynchronously, ClangdServer spawns worker threads. More... | |
ASTRetentionPolicy | RetentionPolicy |
AST caching policy. The default is to keep up to 3 ASTs in memory. More... | |
bool | StorePreamblesInMemory = true |
Cached preambles are potentially large. If false, store them on disk. More... | |
bool | BuildDynamicSymbolIndex = false |
If true, ClangdServer builds a dynamic in-memory index for symbols in opened files and uses the index to augment code completion results. More... | |
std::vector< std::string > | URISchemes |
URI schemes to use when building the dynamic index. More... | |
SymbolIndex * | StaticIndex = nullptr |
If set, use this index to augment code completion results. More... | |
llvm::Optional< StringRef > | ResourceDir = llvm::None |
The resource directory is used to find internal headers, overriding defaults and -resource-dir compiler flag). More... | |
std::chrono::steady_clock::duration | UpdateDebounce |
Time to wait after a new file version before computing diagnostics. More... | |
Definition at line 52 of file ClangdServer.h.
unsigned clang::clangd::ClangdServer::Options::AsyncThreadsCount = getDefaultAsyncThreadsCount() |
To process requests asynchronously, ClangdServer spawns worker threads.
If 0, all requests are processed on the calling thread.
Definition at line 55 of file ClangdServer.h.
bool clang::clangd::ClangdServer::Options::BuildDynamicSymbolIndex = false |
If true, ClangdServer builds a dynamic in-memory index for symbols in opened files and uses the index to augment code completion results.
Definition at line 65 of file ClangdServer.h.
llvm::Optional<StringRef> clang::clangd::ClangdServer::Options::ResourceDir = llvm::None |
The resource directory is used to find internal headers, overriding defaults and -resource-dir compiler flag).
If None, ClangdServer calls CompilerInvocation::GetResourcePath() to obtain the standard resource directory.
Definition at line 78 of file ClangdServer.h.
ASTRetentionPolicy clang::clangd::ClangdServer::Options::RetentionPolicy |
AST caching policy. The default is to keep up to 3 ASTs in memory.
Definition at line 58 of file ClangdServer.h.
SymbolIndex* clang::clangd::ClangdServer::Options::StaticIndex = nullptr |
If set, use this index to augment code completion results.
Definition at line 72 of file ClangdServer.h.
bool clang::clangd::ClangdServer::Options::StorePreamblesInMemory = true |
Cached preambles are potentially large. If false, store them on disk.
Definition at line 61 of file ClangdServer.h.
std::chrono::steady_clock::duration clang::clangd::ClangdServer::Options::UpdateDebounce |
Time to wait after a new file version before computing diagnostics.
Definition at line 81 of file ClangdServer.h.
std::vector<std::string> clang::clangd::ClangdServer::Options::URISchemes |
URI schemes to use when building the dynamic index.
If empty, the default schemes in SymbolCollector will be used.
Definition at line 69 of file ClangdServer.h.