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 | 18b9105d02ee152e7f8faab751d6f356428c3054 (patch) | |
tree | 2416179e0d6ae8dfa81103982352717a36a54022 /include | |
parent | e877eebfe9d716ed1101aecf958af473836e70e1 (diff) | |
download | external_llvm-18b9105d02ee152e7f8faab751d6f356428c3054.zip external_llvm-18b9105d02ee152e7f8faab751d6f356428c3054.tar.gz external_llvm-18b9105d02ee152e7f8faab751d6f356428c3054.tar.bz2 |
llvm-c: Add LLVMPrintTypeToString
Differential Revision: http://llvm-reviews.chandlerc.com/D1963
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193149 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm-c/Core.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index f9717cc..a48ea7e 100644 --- a/include/llvm-c/Core.h +++ b/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. |