Lines Matching refs:EC
78 Error errorCodeToError(std::error_code EC) {
79 if (!EC)
81 return Error(llvm::make_unique<ECError>(ECError(EC)));
85 std::error_code EC;
87 EC = EI.convertToErrorCode();
89 if (EC == inconvertibleErrorCode())
90 report_fatal_error(EC.message());
91 return EC;
94 StringError::StringError(const Twine &S, std::error_code EC)
95 : Msg(S.str()), EC(EC) {}
100 return EC;