Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Testing/Support/
DSupportHelpers.h19 struct ErrorHolder { struct
25 template <typename T> struct ExpectedHolder : public ErrorHolder { argument
26 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()
DError.h22 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Testing/Support/
DError.cpp16 llvm::detail::ErrorHolder llvm::detail::TakeError(llvm::Error Err) { in TakeError()