summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/ErrorHandling.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-07 22:58:41 +0000
committerChris Lattner <sabre@nondot.org>2010-04-07 22:58:41 +0000
commit2104b8d36e10b07ee396dba0a6ce58e621ef88c9 (patch)
treeb2f56fa2c068df5023c81c5781bd3cebdfa371fd /llvm/lib/Support/ErrorHandling.cpp
parent4b73cfabac29092070ec658b51953a42b9eed8df (diff)
downloadbcm5719-llvm-2104b8d36e10b07ee396dba0a6ce58e621ef88c9.tar.gz
bcm5719-llvm-2104b8d36e10b07ee396dba0a6ce58e621ef88c9.zip
rename llvm::llvm_report_error -> llvm::report_fatal_error
llvm-svn: 100709
Diffstat (limited to 'llvm/lib/Support/ErrorHandling.cpp')
-rw-r--r--llvm/lib/Support/ErrorHandling.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Support/ErrorHandling.cpp b/llvm/lib/Support/ErrorHandling.cpp
index 4412cb2dd0d..32a5d4bcb63 100644
--- a/llvm/lib/Support/ErrorHandling.cpp
+++ b/llvm/lib/Support/ErrorHandling.cpp
@@ -40,15 +40,15 @@ void llvm_remove_error_handler() {
ErrorHandler = 0;
}
-void llvm_report_error(const char *reason) {
- llvm_report_error(Twine(reason));
+void report_fatal_error(const char *reason) {
+ report_fatal_error(Twine(reason));
}
-void llvm_report_error(const std::string &reason) {
- llvm_report_error(Twine(reason));
+void report_fatal_error(const std::string &reason) {
+ report_fatal_error(Twine(reason));
}
-void llvm_report_error(const Twine &reason) {
+void report_fatal_error(const Twine &reason) {
if (!ErrorHandler) {
errs() << "LLVM ERROR: " << reason << "\n";
} else {
OpenPOWER on IntegriCloud