clang-tools  10.0.0svn
Classes | Namespaces | Functions | Variables
TUScheduler.cpp File Reference
#include "TUScheduler.h"
#include "Cancellation.h"
#include "Compiler.h"
#include "Diagnostics.h"
#include "GlobalCompilationDatabase.h"
#include "Logger.h"
#include "ParsedAST.h"
#include "Preamble.h"
#include "Trace.h"
#include "index/CanonicalIncludes.h"
#include "clang/Frontend/CompilerInvocation.h"
#include "clang/Tooling/CompilationDatabase.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/ScopeExit.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Threading.h"
#include <algorithm>
#include <memory>
#include <queue>
#include <thread>
Include dependency graph for TUScheduler.cpp:

Go to the source code of this file.

Classes

class  clang::clangd::TUScheduler::ASTCache
 An LRU cache of idle ASTs. More...
 
struct  clang::clangd::TUScheduler::FileData
 

Namespaces

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

Functions

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

Variables

static clang::clangd::Key< std::string > clang::clangd::kFileBeingProcessed
 

Variable Documentation

◆ Action

llvm::unique_function<void()> Action

◆ AddTime

steady_clock::time_point AddTime

Definition at line 235 of file TUScheduler.cpp.

◆ Ctx

Context Ctx

◆ Name

std::string Name

Definition at line 234 of file TUScheduler.cpp.

◆ UpdateType

llvm::Optional<WantDiagnostics> UpdateType

Definition at line 237 of file TUScheduler.cpp.