MCPcopy Create free account
hub / github.com/GANGE666/xVMP / errorCodeToError

Function errorCodeToError

src/lib/Support/Error.cpp:88–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88Error errorCodeToError(std::error_code EC) {
89 if (!EC)
90 return Error::success();
91 return Error(llvm::make_unique<ECError>(ECError(EC)));
92}
93
94std::error_code errorToErrorCode(Error Err) {
95 std::error_code EC;

Callers 15

yamlToPdbFunction · 0.85
getAbsolutePathFunction · 0.85
dumpInputFunction · 0.85
dumpMethod · 0.85
createOutputStreamMethod · 0.85
mainFunction · 0.85
checkFunction · 0.85
readExecutableHeadersMethod · 0.85
readSectionsMethod · 0.85
readSymbolsMethod · 0.85
getObjectsAsMethod · 0.85

Calls 3

successFunction · 0.85
ECErrorClass · 0.85
ErrorClass · 0.50

Tested by 2

runForTestingMethod · 0.68
TESTFunction · 0.68