clang-tools  12.0.0git
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
clang::clangd::CancelledError Class Reference

Conventional error when no result is returned due to cancellation. More...

#include <Cancellation.h>

Inheritance diagram for clang::clangd::CancelledError:
Inheritance graph
[legend]
Collaboration diagram for clang::clangd::CancelledError:
Collaboration graph
[legend]

Public Member Functions

 CancelledError (int Reason)
 
void log (llvm::raw_ostream &OS) const override
 
std::error_code convertToErrorCode () const override
 

Public Attributes

const int Reason
 

Static Public Attributes

static char ID = 0
 

Detailed Description

Conventional error when no result is returned due to cancellation.

Definition at line 86 of file Cancellation.h.

Constructor & Destructor Documentation

◆ CancelledError()

clang::clangd::CancelledError::CancelledError ( int  Reason)
inline

Definition at line 91 of file Cancellation.h.

Member Function Documentation

◆ convertToErrorCode()

std::error_code clang::clangd::CancelledError::convertToErrorCode ( ) const
inlineoverride

Definition at line 96 of file Cancellation.h.

◆ log()

void clang::clangd::CancelledError::log ( llvm::raw_ostream &  OS) const
inlineoverride

Definition at line 93 of file Cancellation.h.

Member Data Documentation

◆ ID

char clang::clangd::CancelledError::ID = 0
static

Definition at line 88 of file Cancellation.h.

◆ Reason

const int clang::clangd::CancelledError::Reason

Definition at line 89 of file Cancellation.h.


The documentation for this class was generated from the following files: