MCPcopy Create free account
hub / github.com/ablab/spades / toString

Function toString

ext/include/llvm/Support/Error.h:986–992  ·  view source on GitHub ↗

Write all error messages (if any) in E to a string. The newline character is used to separate error messages.

Source from the content-addressed store, hash-verified

984/// Write all error messages (if any) in E to a string. The newline character
985/// is used to separate error messages.
986inline std::string toString(Error E) {
987 SmallVector<std::string, 2> Errors;
988 handleAllErrors(std::move(E), [&Errors](const ErrorInfoBase &EI) {
989 Errors.push_back(EI.message());
990 });
991 return join(Errors.begin(), Errors.end(), "\n");
992}
993
994/// Consume a Error without doing anything. This method should be used
995/// only where an error can be considered a reasonable and expected return

Callers

nothing calls this directly

Calls 6

handleAllErrorsFunction · 0.85
joinFunction · 0.50
push_backMethod · 0.45
messageMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected