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