Lines Matching refs:Whence
48 static void warn(Twine Message, std::string Whence = "", in warn() argument
51 if (!Whence.empty()) in warn()
52 errs() << Whence << ": "; in warn()
58 static void warn(Error E, StringRef Whence = "") { in warn() argument
61 warn(IPE.message(), std::string(Whence), std::string("")); in warn()
66 static void exitWithError(Twine Message, std::string Whence = "", in exitWithError() argument
69 if (!Whence.empty()) in exitWithError()
70 errs() << Whence << ": "; in exitWithError()
77 static void exitWithError(Error E, StringRef Whence = "") { in exitWithError() argument
86 exitWithError(IPE.message(), std::string(Whence), std::string(Hint)); in exitWithError()
90 exitWithError(toString(std::move(E)), std::string(Whence)); in exitWithError()
93 static void exitWithErrorCode(std::error_code EC, StringRef Whence = "") { in exitWithErrorCode() argument
94 exitWithError(EC.message(), std::string(Whence)); in exitWithErrorCode()
103 StringRef Whence = "") { in warnOrExitGivenError() argument
105 exitWithErrorCode(EC, Whence); in warnOrExitGivenError()
107 warn(EC.message(), std::string(Whence)); in warnOrExitGivenError()