When handling raw_ostream errors manually, use clear_error() so that
raw_ostream doesn't try to do its own error handling. Also, close the raw_ostream before checking for errors so that any errors that occur during closing are caught by the manual check. llvm-svn: 104882
Loading
Please register or sign in to comment