mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
Add a comment to clarify the contract for LLVMGetErrorMessage in the c-bindings
for Error. llvm-svn: 343394
This commit is contained in:
parent
3ba331bf03
commit
ed714f2dc7
@ -47,6 +47,8 @@ void LLVMConsumeError(LLVMErrorRef Err);
|
||||
/**
|
||||
* Returns the given string's error message. This operation consumes the error,
|
||||
* and the given LLVMErrorRef value is not usable once this call returns.
|
||||
* The caller is responsible for disposing of the string by calling
|
||||
* LLVMDisposeErrorMessage.
|
||||
*/
|
||||
char *LLVMGetErrorMessage(LLVMErrorRef Err);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user