class ErrorMatchesMono
Declaration
template <typename InfoT>
class ErrorMatchesMono : public MatcherInterface { /* full declaration omitted */ };
Declared at: llvm/include/llvm/Testing/Support/Error.h:85
Inherits from: MatcherInterface
Templates
- InfoT
Method Overview
- public void DescribeNegationTo(std::ostream * OS) const
- public void DescribeTo(std::ostream * OS) const
- public ErrorMatchesMono<InfoT>(Optional<testing::Matcher<InfoT &>> Matcher)
- public bool MatchAndExplain(const llvm::detail::ErrorHolder & Holder, testing::MatchResultListener * listener) const
Methods
¶void DescribeNegationTo(std::ostream* OS) const
void DescribeNegationTo(std::ostream* OS) const
Declared at: llvm/include/llvm/Testing/Support/Error.h:120
Parameters
- std::ostream* OS
¶void DescribeTo(std::ostream* OS) const
void DescribeTo(std::ostream* OS) const
Declared at: llvm/include/llvm/Testing/Support/Error.h:112
Parameters
- std::ostream* OS
¶ErrorMatchesMono<InfoT>(
Optional<testing::Matcher<InfoT&>> Matcher)
ErrorMatchesMono<InfoT>(
Optional<testing::Matcher<InfoT&>> Matcher)
Declared at: llvm/include/llvm/Testing/Support/Error.h:87
Parameters
- Optional<testing::Matcher<InfoT&>> Matcher
¶bool MatchAndExplain(
const llvm::detail::ErrorHolder& Holder,
testing::MatchResultListener* listener) const
bool MatchAndExplain(
const llvm::detail::ErrorHolder& Holder,
testing::MatchResultListener* listener) const
Declared at: llvm/include/llvm/Testing/Support/Error.h:90
Parameters
- const llvm::detail::ErrorHolder& Holder
- testing::MatchResultListener* listener