Rafael Espindola
f5d07fa586
Mark a few functions noexcept.
...
This reduces the difference between std::error_code and llvm::error_code.
llvm-svn: 210591
2014-06-10 21:26:47 +00:00
Rafael Espindola
e00fec8fe4
Use an enum class.
...
llvm-svn: 210078
2014-06-03 05:26:12 +00:00
Rafael Espindola
a3f2e3f01e
There is no std::errc::success, remove the llvm one.
...
llvm-svn: 209960
2014-05-31 03:21:04 +00:00
Justin Bogner
e3bfdc4e14
Support: Make error_category's constructor public
...
Since our error_category is based on the std one, we should have the
same visibility for the constructor. This also allows us to avoid
using the _do_message implementation detail in our own categories.
llvm-svn: 203998
2014-03-15 04:05:59 +00:00
Alexey Samsonov
e6388e622e
Basic support for parsing Mach-O universal binaries in LLVMObject library
...
llvm-svn: 184191
2013-06-18 15:03:28 +00:00
Rafael Espindola
e107ade3f9
Don't convert object_error's enum to and from int.
...
This allows the compiler to see the enum and warn about it. While in here,
fix a switch to not use a default and fix style violations.
llvm-svn: 184186
2013-06-18 13:30:31 +00:00
Michael J. Spencer
1d6167fd30
Object: Add proper error handling.
...
llvm-svn: 133872
2011-06-25 17:55:23 +00:00
Michael J. Spencer
e4446923cf
Add Object/Error.
...
llvm-svn: 133868
2011-06-25 17:42:56 +00:00
Benjamin Kramer
975c29629f
Revert r132910 and r132909 on behalf of Michael. They didn't build with clang.
...
llvm-svn: 132914
2011-06-13 12:56:51 +00:00
Michael J. Spencer
0901cec03e
Add Object/Error.
...
llvm-svn: 132909
2011-06-13 11:11:59 +00:00