rename llvm::llvm_report_error -> llvm::report_fatal_error

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100709 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2010-04-07 22:58:41 +00:00
parent e3a601b648
commit 75361b69f3
52 changed files with 143 additions and 143 deletions
+2 -2
View File
@@ -57,11 +57,11 @@ raw_ostream::~raw_ostream() {
delete [] OutBufStart;
// If there are any pending errors, report them now. Clients wishing
// to avoid llvm_report_error calls should check for errors with
// to avoid report_fatal_error calls should check for errors with
// has_error() and clear the error flag with clear_error() before
// destructing raw_ostream objects which may have errors.
if (Error)
llvm_report_error("IO failure on output stream.");
report_fatal_error("IO failure on output stream.");
}
// An out of line virtual method to provide a home for the class vtable.