Lines Matching refs:Whence
45 static void warn(Twine Message, std::string Whence = "", in warn() argument
48 if (!Whence.empty()) in warn()
49 errs() << Whence << ": "; in warn()
55 static void exitWithError(Twine Message, std::string Whence = "", in exitWithError() argument
58 if (!Whence.empty()) in exitWithError()
59 errs() << Whence << ": "; in exitWithError()
66 static void exitWithError(Error E, StringRef Whence = "") { in exitWithError() argument
75 exitWithError(IPE.message(), Whence, Hint); in exitWithError()
79 exitWithError(toString(std::move(E)), Whence); in exitWithError()
82 static void exitWithErrorCode(std::error_code EC, StringRef Whence = "") { in exitWithErrorCode() argument
83 exitWithError(EC.message(), Whence); in exitWithErrorCode()