diff options
author | Anders Waldenborg <anders@0x63.nu> | 2013-10-22 06:58:34 +0000 |
---|---|---|
committer | Anders Waldenborg <anders@0x63.nu> | 2013-10-22 06:58:34 +0000 |
commit | 47b3bd3fbb131b47268af300a65af52c159052dc (patch) | |
tree | 7784adf599940be8612e2553d23aa78a600cbd7a /llvm/include/llvm-c | |
parent | 3461bedbfd1531fd40c252b77aaf3c04900b50ee (diff) | |
download | bcm5719-llvm-47b3bd3fbb131b47268af300a65af52c159052dc.tar.gz bcm5719-llvm-47b3bd3fbb131b47268af300a65af52c159052dc.zip |
llvm-c: Add LLVMPrintTypeToString
Differential Revision: http://llvm-reviews.chandlerc.com/D1963
llvm-svn: 193149
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r-- | llvm/include/llvm-c/Core.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h index f9717cc5f55..a48ea7e7457 100644 --- a/llvm/include/llvm-c/Core.h +++ b/llvm/include/llvm-c/Core.h @@ -723,6 +723,14 @@ LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty); void LLVMDumpType(LLVMTypeRef Val); /** + * Return a string representation of the type. Use + * LLVMDisposeMessage to free the string. + * + * @see llvm::Type::print() + */ +char *LLVMPrintTypeToString(LLVMTypeRef Val); + +/** * @defgroup LLVMCCoreTypeInt Integer Types * * Functions in this section operate on integer types. |