Home
last modified time | relevance | path

Searched refs:ErrorHolder (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Support/
H A DError.h20 ErrorHolder TakeError(Error Err);
84 class ErrorMatchesMono : public testing::MatcherInterface<const ErrorHolder &> {
89 bool MatchAndExplain(const ErrorHolder &Holder, in MatchAndExplain()
132 : public testing::MatcherInterface<const ErrorHolder &> {
138 bool MatchAndExplain(const ErrorHolder &Holder, in MatchAndExplain()
198 testing::Matcher<const detail::ErrorHolder &> Failed() { in Failed()
203 testing::Matcher<const detail::ErrorHolder &> Failed(M Matcher) { in Failed()
209 testing::Matcher<const detail::ErrorHolder &> FailedWithMessage(M... Matcher) { in FailedWithMessage()
216 testing::Matcher<const detail::ErrorHolder &> FailedWithMessageArray(M Matcher) { in FailedWithMessageArray()
H A DSupportHelpers.h25 struct ErrorHolder { struct
31 template <typename T> struct ExpectedHolder : public ErrorHolder { argument
32 ExpectedHolder(ErrorHolder Err, Expected<T> &Exp) in ExpectedHolder()
33 : ErrorHolder(std::move(Err)), Exp(Exp) {} in ExpectedHolder()
38 inline void PrintTo(const ErrorHolder &Err, std::ostream *Out) { in PrintTo()
57 PrintTo(static_cast<const ErrorHolder &>(Item), Out); in PrintTo()
/freebsd/contrib/llvm-project/llvm/lib/Testing/Support/
H A DError.cpp13 llvm::detail::ErrorHolder llvm::detail::TakeError(llvm::Error Err) {