aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/PromoteMemoryToRegister.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
commit4b7416b75db2a4b80ccffe6e15c0d7b6996a8201 (patch)
treec294213d1d6213633ef3be8b5ecc7ca65fe616d8 /lib/Transforms/Utils/PromoteMemoryToRegister.cpp
parent756a96a328c3657029a47081ea7e961b4f0f65a5 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104882 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/PromoteMemoryToRegister.cpp')
0 files changed, 0 insertions, 0 deletions