Skip to content
Commit ab366f05 authored by Dan Gohman's avatar Dan Gohman
Browse files

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
parent 75593942
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment