Set the flag read by has_error() to false. If the error flag is set at the time when this raw_ostream's destructor is called, report_fatal_error is called to report the error. Use clear_error() after handling the error to avoid this behavior.
Declared in <llvm/Support/raw_ostream.h>
void
clear_error();
"Errors should never pass silently. Unless explicitly silenced."
from The Zen of Python, by Tim Peters