ΒΆstd::error_code errorToErrorCode(llvm::Error Err)

Description

Helper for converting an ECError to a std::error_code. This method requires that Err be Error() or an ECError, otherwise it will trigger a call to abort().

Declared at: llvm/include/llvm/Support/Error.h:1134

Parameters

llvm::Error Err