clang-tools  11.0.0git
Classes | Namespaces | Enumerations | Functions
TUScheduler.h File Reference
#include "Compiler.h"
#include "Diagnostics.h"
#include "GlobalCompilationDatabase.h"
#include "index/CanonicalIncludes.h"
#include "support/Function.h"
#include "support/Path.h"
#include "support/Threading.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include <chrono>
Include dependency graph for TUScheduler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  clang::clangd::InputsAndAST
struct  clang::clangd::InputsAndPreamble
struct  clang::clangd::ASTRetentionPolicy
 Configuration of the AST retention policy. More...
struct  clang::clangd::DebouncePolicy
 Clangd may wait after an update to see if another one comes along. More...
struct  clang::clangd::ASTAction
struct  clang::clangd::TUStatus
struct  clang::clangd::TUStatus::BuildDetails
class  clang::clangd::ParsingCallbacks
class  clang::clangd::TUScheduler
 Handles running tasks for ClangdServer and managing the resources (e.g., preambles and ASTs) for opened files. More...
struct  clang::clangd::TUScheduler::Options
struct  clang::clangd::TUScheduler::FileStats


 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//


enum  clang::clangd::WantDiagnostics { clang::clangd::WantDiagnostics::Yes, clang::clangd::WantDiagnostics::No, clang::clangd::WantDiagnostics::Auto }
 Determines whether diagnostics should be generated for a file snapshot. More...
enum  clang::clangd::PreambleAction { clang::clangd::PreambleAction::Idle, clang::clangd::PreambleAction::Building }


unsigned clang::clangd::getDefaultAsyncThreadsCount ()
 Returns a number of a default async threads to use for TUScheduler. More...