forked from OSchip/llvm-project
Add a comment to clarify the contract for LLVMGetErrorMessage in the c-bindings
for Error. llvm-svn: 343394
This commit is contained in:
parent
6ca6a03c51
commit
d18d69f25a
|
@ -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