[llvm] [Offload] Ensure all `llvm::Error`s are handled (PR #137339)
Ross Brunton via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 25 07:28:38 PDT 2025
================
@@ -88,6 +89,17 @@ struct ol_impl_result_t {
Result = errors().emplace(std::move(Err)).first->get();
}
+ ol_impl_result_t(llvm::Error &&Error, llvm::StringRef Details) {
----------------
RossBrunton wrote:
I'm not sure if this is better as a constructor or an explicit static `fromError` method.
https://github.com/llvm/llvm-project/pull/137339
More information about the llvm-commits
mailing list