LLVM 20.0.0git
Static Public Member Functions | List of all members
llvm::ErrorHandlerTraits< Error(&)(ErrT &)> Class Template Reference

#include "llvm/Support/Error.h"

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(&)(ErrT &)>

Definition at line 840 of file Error.h.

Member Function Documentation

◆ appliesTo()

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

Definition at line 842 of file Error.h.

References E.

◆ apply()

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

Definition at line 847 of file Error.h.

References assert(), E, and H.


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