Lines Matching refs:Whence
422 static void warn(Twine Message, std::string Whence = "", in warn() argument
425 if (!Whence.empty()) in warn()
426 errs() << Whence << ": "; in warn()
432 static void warn(Error E, StringRef Whence = "") { in warn() argument
435 warn(IPE.message(), std::string(Whence), std::string("")); in warn()
440 static void exitWithError(Twine Message, std::string Whence = "", in exitWithError() argument
443 if (!Whence.empty()) in exitWithError()
444 errs() << Whence << ": "; in exitWithError()
451 static void exitWithError(Error E, StringRef Whence = "") { in exitWithError() argument
460 exitWithError(IPE.message(), std::string(Whence), std::string(Hint)); in exitWithError()
465 exitWithError(toString(std::move(E)), std::string(Whence)); in exitWithError()
468 static void exitWithErrorCode(std::error_code EC, StringRef Whence = "") { in exitWithErrorCode() argument
469 exitWithError(EC.message(), std::string(Whence)); in exitWithErrorCode()
473 StringRef Whence = "") { in warnOrExitGivenError() argument
475 exitWithErrorCode(EC, Whence); in warnOrExitGivenError()
477 warn(EC.message(), std::string(Whence)); in warnOrExitGivenError()