Searched refs:value_or_error (Results 1 – 1 of 1) sorted by relevance
32 static inline T UnWrap(llvm::Expected<T> value_or_error) { in UnWrap() argument33 if (!value_or_error) { in UnWrap()34 llvm::errs() << "\nerror: " << llvm::toString(value_or_error.takeError()) in UnWrap()39 return std::move(value_or_error.get()); in UnWrap()