LLVM 22.0.0git
llvm::detail::ErrorMatchesMono< InfoT > Class Template Reference

#include "llvm/Testing/Support/Error.h"

Inheritance diagram for llvm::detail::ErrorMatchesMono< InfoT >:
[legend]

Public Member Functions

 ErrorMatchesMono (std::optional< testing::Matcher< InfoT & > > Matcher)
bool MatchAndExplain (const ErrorHolder &Holder, testing::MatchResultListener *listener) const override
void DescribeTo (std::ostream *OS) const override
void DescribeNegationTo (std::ostream *OS) const override

Detailed Description

template<typename InfoT>
class llvm::detail::ErrorMatchesMono< InfoT >

Definition at line 84 of file Error.h.

Constructor & Destructor Documentation

◆ ErrorMatchesMono()

template<typename InfoT>
llvm::detail::ErrorMatchesMono< InfoT >::ErrorMatchesMono ( std::optional< testing::Matcher< InfoT & > > Matcher)
inlineexplicit

Definition at line 86 of file Error.h.

References llvm::move().

Member Function Documentation

◆ DescribeNegationTo()

template<typename InfoT>
void llvm::detail::ErrorMatchesMono< InfoT >::DescribeNegationTo ( std::ostream * OS) const
inlineoverride

Definition at line 119 of file Error.h.

◆ DescribeTo()

template<typename InfoT>
void llvm::detail::ErrorMatchesMono< InfoT >::DescribeTo ( std::ostream * OS) const
inlineoverride

Definition at line 111 of file Error.h.

◆ MatchAndExplain()

template<typename InfoT>
bool llvm::detail::ErrorMatchesMono< InfoT >::MatchAndExplain ( const ErrorHolder & Holder,
testing::MatchResultListener * listener ) const
inlineoverride

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