Lines Matching refs:error_code
28 // deal with the Error value directly, rather than converting to error_code.
39 "not be converted to a known std::error_code. Please file a "
85 std::error_code ErrorList::convertToErrorCode() const {
86 return std::error_code(static_cast<int>(ErrorErrorCode::MultipleErrors),
90 std::error_code inconvertibleErrorCode() {
91 return std::error_code(static_cast<int>(ErrorErrorCode::InconvertibleError),
95 std::error_code FileError::convertToErrorCode() const {
96 std::error_code NestedEC = Err->convertToErrorCode();
98 return std::error_code(static_cast<int>(ErrorErrorCode::FileError),
103 Error errorCodeToError(std::error_code EC) {
109 std::error_code errorToErrorCode(Error Err) {
110 std::error_code EC;
132 StringError::StringError(std::error_code EC, const Twine &S)
135 StringError::StringError(const Twine &S, std::error_code EC)
148 std::error_code StringError::convertToErrorCode() const {
152 Error createStringError(std::error_code EC, char const *Msg) {