LLVM 22.0.0git
llvm::ErrorHandlerTraits< Error(&)(std::unique_ptr< ErrT >)> Class Template Reference

Specialization for functions of the form 'Error (std::unique_ptr<ErrT>)'. More...

#include "llvm/Support/Error.h"

Inheritance diagram for llvm::ErrorHandlerTraits< Error(&)(std::unique_ptr< 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< Error(&)(std::unique_ptr< ErrT >)>

Specialization for functions of the form 'Error (std::unique_ptr<ErrT>)'.

Definition at line 883 of file Error.h.

Member Function Documentation

◆ appliesTo()

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

Definition at line 885 of file Error.h.

References E().

Referenced by apply().

◆ apply()

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

Definition at line 890 of file Error.h.

References appliesTo(), assert(), E(), and H.


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