Searched refs:ErrorHolder (Results 1 – 3 of 3) sorted by relevance
19 struct ErrorHolder { struct25 template <typename T> struct ExpectedHolder : public ErrorHolder { argument26 ExpectedHolder(ErrorHolder Err, Expected<T> &Exp) in ExpectedHolder()27 : ErrorHolder(std::move(Err)), Exp(Exp) {} in ExpectedHolder()32 inline void PrintTo(const ErrorHolder &Err, std::ostream *Out) { in PrintTo()51 PrintTo(static_cast<const ErrorHolder &>(Item), Out); in PrintTo()
22 ErrorHolder TakeError(Error Err);86 class ErrorMatchesMono : public testing::MatcherInterface<const ErrorHolder &> {91 bool MatchAndExplain(const ErrorHolder &Holder, in MatchAndExplain()148 testing::Matcher<const detail::ErrorHolder &> Failed() { in Failed()153 testing::Matcher<const detail::ErrorHolder &> Failed(M Matcher) { in Failed()
16 llvm::detail::ErrorHolder llvm::detail::TakeError(llvm::Error Err) { in TakeError()