[patch] Use a more idiomatic bool operator in ErrorOr

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Jan 15 10:19:55 PST 2014


This seems to be the more common way to implement operator bool in
LLVM. Any reason why the one in ErrorOr was different?

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 1154 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140115/45a04753/attachment.obj>


More information about the llvm-commits mailing list