Use getError and remove the error_code operator.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 8 Jan 2014 22:03:39 +0000 (22:03 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 8 Jan 2014 22:03:39 +0000 (22:03 +0000)
commitdee18bb2e8987421fe041128913339f1e92f84c4
tree1ccbb18309f4ab20a7a11cce246391defcbf9b2d
parent6b71233fb186c39b33345deee8c6f862f41003b8
Use getError and remove the error_code operator.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198799 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELFObjectFile.h
include/llvm/Support/ErrorOr.h
tools/llvm-readobj/ELFDumper.cpp
unittests/Support/ErrorOrTest.cpp