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