Searched refs:Whence (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/llvm/tools/llvm-profgen/ |
| H A D | ErrorHandling.h | 22 StringRef Whence = StringRef(), 25 if (!Whence.empty()) 26 errs() << Whence.str() << ": "; 34 StringRef Whence = StringRef()) { 35 exitWithError(EC.message(), Whence); 38 [[noreturn]] inline void exitWithError(Error E, StringRef Whence) { in exitWithError() argument 39 exitWithError(errorToErrorCode(std::move(E)), Whence); in exitWithError()
|
| /llvm-project-15.0.7/llvm/tools/llvm-cxxmap/ |
| H A D | llvm-cxxmap.cpp | 56 static void warn(Twine Message, Twine Whence = "", in warn() argument 59 std::string WhenceStr = Whence.str(); in warn() 67 static void exitWithError(Twine Message, Twine Whence = "", in exitWithError() argument 70 std::string WhenceStr = Whence.str(); in exitWithError() 79 static void exitWithError(Error E, StringRef Whence = "") { in exitWithError() argument 80 exitWithError(toString(std::move(E)), Whence); in exitWithError() 83 static void exitWithErrorCode(std::error_code EC, StringRef Whence = "") { in exitWithErrorCode() argument 84 exitWithError(EC.message(), Whence); in exitWithErrorCode()
|
| /llvm-project-15.0.7/llvm/tools/llvm-cov/ |
| H A D | CodeCoverage.cpp | 70 void error(const Twine &Message, StringRef Whence = ""); 73 void warning(const Twine &Message, StringRef Whence = ""); 184 static std::string getErrorString(const Twine &Message, StringRef Whence, in getErrorString() argument 188 if (!Whence.empty()) in getErrorString() 189 Str += Whence.str() + ": "; in getErrorString() 194 void CodeCoverageTool::error(const Twine &Message, StringRef Whence) { in error() argument 197 << getErrorString(Message, Whence, false); in error() 200 void CodeCoverageTool::warning(const Twine &Message, StringRef Whence) { in warning() argument 203 << getErrorString(Message, Whence, true); in warning()
|
| /llvm-project-15.0.7/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 54 static void warn(Twine Message, std::string Whence = "", in warn() argument 57 if (!Whence.empty()) in warn() 58 errs() << Whence << ": "; in warn() 64 static void warn(Error E, StringRef Whence = "") { in warn() argument 75 if (!Whence.empty()) in exitWithError() 76 errs() << Whence << ": "; in exitWithError() 83 static void exitWithError(Error E, StringRef Whence = "") { in exitWithError() argument 101 exitWithError(EC.message(), std::string(Whence)); in exitWithErrorCode() 110 StringRef Whence = "") { in warnOrExitGivenError() argument 112 exitWithErrorCode(EC, Whence); in warnOrExitGivenError() [all …]
|