Lines Matching refs:Whence
460 static void warn(Twine Message, StringRef Whence = "", StringRef Hint = "") { in warn() argument
462 if (!Whence.empty()) in warn()
463 errs() << Whence << ": "; in warn()
469 static void warn(Error E, StringRef Whence = "") { in warn() argument
472 warn(IPE.message(), Whence); in warn()
477 static void exitWithError(Twine Message, StringRef Whence = "", in exitWithError() argument
480 if (!Whence.empty()) in exitWithError()
481 errs() << Whence << ": "; in exitWithError()
488 static void exitWithError(Error E, StringRef Whence = "") { in exitWithError() argument
497 exitWithError(IPE.message(), Whence, Hint); in exitWithError()
502 exitWithError(toString(std::move(E)), Whence); in exitWithError()
505 static void exitWithErrorCode(std::error_code EC, StringRef Whence = "") { in exitWithErrorCode() argument
506 exitWithError(EC.message(), Whence); in exitWithErrorCode()
510 StringRef Whence = "") { in warnOrExitGivenError() argument
512 exitWithErrorCode(EC, Whence); in warnOrExitGivenError()
514 warn(EC.message(), Whence); in warnOrExitGivenError()