[PATCH] D17778: TypedError for recoverable error handling
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 1 13:15:39 PST 2016
lhames added a comment.
As described in the original RFC (see "Error handling in LLVM libraries." on the llvm-dev mailing list), this patch adds support for an error-handling system tentatively named TypedError. This scheme can be thought of as a hybrid between error returns an exceptions: Errors in the scheme are explicitly represented as return types in the API (like error codes), but error values are structured, user-defined types, similar to c++ exceptions.
The motivation and details of the scheme can be read in the original RFC, my expectation is that this thread will focus on the implementation details.
Repository:
rL LLVM
http://reviews.llvm.org/D17778
More information about the llvm-commits
mailing list