When handling raw_ostream errors manually, use clear_error() so that
authorDan Gohman <gohman@apple.com>
Thu, 27 May 2010 20:17:28 +0000 (20:17 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 27 May 2010 20:17:28 +0000 (20:17 +0000)
commit756a96a328c3657029a47081ea7e961b4f0f65a5
tree025923b23ff6c64fe6118fdad250e66eb1a0bb58
parent54feef29500dda8ee885af177b449c62ac8b6444
When handling raw_ostream errors manually, use clear_error() so that
raw_ostream doesn't try to do its own error handling.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104881 91177308-0d34-0410-b5e6-96231b3b80d8
utils/FileUpdate/FileUpdate.cpp