LLVM  14.0.0git
Public Member Functions | List of all members
llvm::detail::ValueIsMatcher< InnerMatcher >::Impl< T > Class Template Reference

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

Inheritance diagram for llvm::detail::ValueIsMatcher< InnerMatcher >::Impl< T >:
Inheritance graph
[legend]
Collaboration diagram for llvm::detail::ValueIsMatcher< InnerMatcher >::Impl< T >:
Collaboration graph
[legend]

Public Member Functions

 Impl (const ::testing::Matcher< T > &ValueMatcher)
 
bool MatchAndExplain (const llvm::Optional< T > &Input, testing::MatchResultListener *L) const override
 
void DescribeTo (std::ostream *OS) const override
 
void DescribeNegationTo (std::ostream *OS) const override
 

Detailed Description

template<class InnerMatcher>
template<class T>
class llvm::detail::ValueIsMatcher< InnerMatcher >::Impl< T >

Definition at line 73 of file SupportHelpers.h.

Constructor & Destructor Documentation

◆ Impl()

template<class InnerMatcher >
template<class T >
llvm::detail::ValueIsMatcher< InnerMatcher >::Impl< T >::Impl ( const ::testing::Matcher< T > &  ValueMatcher)
inlineexplicit

Definition at line 75 of file SupportHelpers.h.

Member Function Documentation

◆ DescribeNegationTo()

template<class InnerMatcher >
template<class T >
void llvm::detail::ValueIsMatcher< InnerMatcher >::Impl< T >::DescribeNegationTo ( std::ostream *  OS) const
inlineoverride

Definition at line 87 of file SupportHelpers.h.

◆ DescribeTo()

template<class InnerMatcher >
template<class T >
void llvm::detail::ValueIsMatcher< InnerMatcher >::Impl< T >::DescribeTo ( std::ostream *  OS) const
inlineoverride

Definition at line 83 of file SupportHelpers.h.

◆ MatchAndExplain()

template<class InnerMatcher >
template<class T >
bool llvm::detail::ValueIsMatcher< InnerMatcher >::Impl< T >::MatchAndExplain ( const llvm::Optional< T > &  Input,
testing::MatchResultListener *  L 
) const
inlineoverride

Definition at line 78 of file SupportHelpers.h.

References llvm::Optional< T >::getValue().


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