LLVM 22.0.0git
llvm::ErrorHandlerTraits< void(&)(ErrT &)> Class Template Reference

#include "llvm/Support/Error.h"

Inheritance diagram for llvm::ErrorHandlerTraits< void(&)(ErrT &)>:
[legend]

Static Public Member Functions

static bool appliesTo (const ErrorInfoBase &E)
template<typename HandlerT>
static Error apply (HandlerT &&H, std::unique_ptr< ErrorInfoBase > E)

Detailed Description

template<typename ErrT>
class llvm::ErrorHandlerTraits< void(&)(ErrT &)>

Definition at line 867 of file Error.h.

Member Function Documentation

◆ appliesTo()

template<typename ErrT>
bool llvm::ErrorHandlerTraits< void(&)(ErrT &)>::appliesTo ( const ErrorInfoBase & E)
inlinestatic

Definition at line 869 of file Error.h.

References E().

Referenced by apply().

◆ apply()

template<typename ErrT>
template<typename HandlerT>
Error llvm::ErrorHandlerTraits< void(&)(ErrT &)>::apply ( HandlerT && H,
std::unique_ptr< ErrorInfoBase > E )
inlinestatic

Definition at line 874 of file Error.h.

References appliesTo(), assert(), E(), H, and llvm::Error::success().


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