diff options
author | Dan Gohman <gohman@apple.com> | 2010-05-27 20:19:47 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-05-27 20:19:47 +0000 |
commit | ab366f055acc1f416d3dc8775aca97ed7f82ff2c (patch) | |
tree | c90528b81eca92719bdbcfb5f51a3e4881374b58 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 75593942705cd1b45262746061988a58fd108cd3 (diff) | |
download | bcm5719-llvm-ab366f055acc1f416d3dc8775aca97ed7f82ff2c.tar.gz bcm5719-llvm-ab366f055acc1f416d3dc8775aca97ed7f82ff2c.zip |
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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions