HomePhabricator

[Support] Add a basic C API for llvm::Error.

Description

[Support] Add a basic C API for llvm::Error.

Summary:
The C-API supports consuming errors, converting an error to a string error
message, and querying an error's type. Other LLVM C APIs that wish to use
llvm::Error can supply error-type-id checkers and custom
error-to-structured-type converters for any custom errors they provide.

Reviewers: bogner, zturner, labath, dblaikie

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D50716

Details

Committed
lhamesAug 15 2018, 11:42 AM
Differential Revision
D50716: [Support] Add a basic C API for llvm::Error.
Parents
rL339801: [WebAssembly][NFC] Standardize SIMD multiclass format
Branches
Unknown
Tags
Unknown