ΒΆinline bool errorToBool(llvm::Error Err)

Description

Helper for converting an Error to a bool. This method returns true if Err is in an error state, or false if it is in a success state. Puts Err in a checked state in both cases (unlike Error::operator bool(), which only does this for success states).

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

Parameters

llvm::Error Err