| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
than a const string&.
llvm-svn: 274526
|
|
|
|
|
|
|
|
|
| |
This will be needed in order to consistently return an Error
to clients of the API being developed in D20268.
Differential Revision: http://reviews.llvm.org/D20550
llvm-svn: 270967
|
|
|
|
|
|
|
| |
Based on a totally scientific, 30 second google search "in-" appears to be the
preferred prefix.
llvm-svn: 270950
|
|
|
|
|
|
|
|
| |
StringError can be used to represent Errors that aren't recoverable based on
the error type, but that have a useful error message that can be reported to
the user or logged.
llvm-svn: 270948
|
|
|
|
|
|
|
|
| |
This helps make clear that we're moving away from std::error_code.
Differential Revision: http://reviews.llvm.org/D20592
llvm-svn: 270604
|
|
|
|
|
|
| |
This implements my suggestion to Lang.
llvm-svn: 264360
|
|
|
|
| |
llvm-svn: 264293
|
|
|
|
| |
llvm-svn: 264291
|
|
This is a temporary crutch to enable code that currently uses std::error_code
to be incrementally moved over to Error. Requiring all Error instances be
convertible enables clients to call errorToErrorCode on any error (not just
ECErrors created by conversion *from* an error_code).
This patch also moves code for Error from ErrorHandling.cpp into a new
Error.cpp file.
llvm-svn: 264221
|