[Support][ErrorOr] Add support for convertable types.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Wed, 6 Feb 2013 22:28:53 +0000 (22:28 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Wed, 6 Feb 2013 22:28:53 +0000 (22:28 +0000)
commit18131ae08d424b988758ebd456faefbee25c77b9
treeb9772dda42b60989eac04f1d01fd0f508e6b39d7
parent9fcfe1ed895f84a3434e3e023f96ba5a2bddd9d4
[Support][ErrorOr] Add support for convertable types.

Thanks to Andrew, David, and Aaron for helping fix this.

llvm-svn: 174552
llvm/include/llvm/Support/ErrorOr.h
llvm/unittests/Support/ErrorOrTest.cpp