clang-tools  12.0.0git
Classes | Namespaces | Functions | Variables
Cancellation.cpp File Reference
#include "support/Cancellation.h"
#include <atomic>
Include dependency graph for Cancellation.cpp:

Go to the source code of this file.

Classes

struct  clang::clangd::CancelState
 

Namespaces

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

Functions

std::pair< Context, Canceler > clang::clangd::cancelableTask (int Reason=1)
 Defines a new task whose cancellation may be requested. More...
 
int clang::clangd::isCancelled (const Context &Ctx=Context::current())
 If the current context is within a cancelled task, returns the reason. More...
 

Variables

static Key< CancelState > clang::clangd::StateKey