rename llvm::llvm_report_error -> llvm::report_fatal_error

llvm-svn: 100709
This commit is contained in:
Chris Lattner
2010-04-07 22:58:41 +00:00
parent 4b73cfabac
commit 2104b8d36e
52 changed files with 143 additions and 143 deletions

View File

@@ -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 {