summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-05-27 20:19:47 +0000
committerDan Gohman <gohman@apple.com>2010-05-27 20:19:47 +0000
commitab366f055acc1f416d3dc8775aca97ed7f82ff2c (patch)
treec90528b81eca92719bdbcfb5f51a3e4881374b58 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent75593942705cd1b45262746061988a58fd108cd3 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud