Lines Matching refs:Whence
47 static void warn(Twine Message, std::string Whence = "", in warn() argument
50 if (!Whence.empty()) in warn()
51 errs() << Whence << ": "; in warn()
57 static void exitWithError(Twine Message, std::string Whence = "", in exitWithError() argument
60 if (!Whence.empty()) in exitWithError()
61 errs() << Whence << ": "; in exitWithError()
68 static void exitWithError(Error E, StringRef Whence = "") { in exitWithError() argument
77 exitWithError(IPE.message(), std::string(Whence), std::string(Hint)); in exitWithError()
81 exitWithError(toString(std::move(E)), std::string(Whence)); in exitWithError()
84 static void exitWithErrorCode(std::error_code EC, StringRef Whence = "") { in exitWithErrorCode() argument
85 exitWithError(EC.message(), std::string(Whence)); in exitWithErrorCode()
94 StringRef Whence = "") { in warnOrExitGivenError() argument
96 exitWithErrorCode(EC, Whence); in warnOrExitGivenError()
98 warn(EC.message(), std::string(Whence)); in warnOrExitGivenError()