clang-tools  11.0.0git
Classes | Namespaces | Functions | Variables
TUScheduler.cpp File Reference
#include "TUScheduler.h"
#include "Compiler.h"
#include "Diagnostics.h"
#include "GlobalCompilationDatabase.h"
#include "ParsedAST.h"
#include "Preamble.h"
#include "index/CanonicalIncludes.h"
#include "support/Cancellation.h"
#include "support/Context.h"
#include "support/Logger.h"
#include "support/Path.h"
#include "support/Threading.h"
#include "support/Trace.h"
#include "clang/Frontend/CompilerInvocation.h"
#include "clang/Tooling/CompilationDatabase.h"
#include "llvm/ADT/FunctionExtras.h"
#include "llvm/ADT/None.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/ScopeExit.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Threading.h"
#include <algorithm>
#include <chrono>
#include <condition_variable>
#include <functional>
#include <memory>
#include <mutex>
#include <queue>
#include <string>
#include <thread>
#include <type_traits>
#include <utility>
#include <vector>
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 449 of file TUScheduler.cpp.

◆ CI

std::unique_ptr<CompilerInvocation> CI

◆ CIDiags

std::vector<Diag> CIDiags

Definition at line 322 of file TUScheduler.cpp.

◆ Ctx

Context Ctx

◆ Inputs

ParseInputs Inputs

◆ Invalidate

Canceler Invalidate

Definition at line 453 of file TUScheduler.cpp.

◆ InvalidationPolicy

TUScheduler::ASTActionInvalidation InvalidationPolicy

Definition at line 452 of file TUScheduler.cpp.

◆ Name

std::string Name

Definition at line 448 of file TUScheduler.cpp.

◆ UpdateType

llvm::Optional<WantDiagnostics> UpdateType

Definition at line 451 of file TUScheduler.cpp.

◆ WantDiags

WantDiagnostics WantDiags

Definition at line 323 of file TUScheduler.cpp.