summaryrefslogtreecommitdiff
path: root/include/llvm-c/Core.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-02-18 16:35:37 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-02-18 16:35:37 +0000
commit1e09e5b979249ae08082569cbf0ab24d297ee0dd (patch)
tree4fe8f4dea782812756734d0583bc860f5d503f4f /include/llvm-c/Core.h
parent39a7de72c8b5013f32802ceacefaaf6697726c28 (diff)
downloadllvm-1e09e5b979249ae08082569cbf0ab24d297ee0dd.tar.gz
llvm-1e09e5b979249ae08082569cbf0ab24d297ee0dd.tar.bz2
llvm-1e09e5b979249ae08082569cbf0ab24d297ee0dd.tar.xz
Expose getTypeName to the C API. Patch by Patrick Walton.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125845 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c/Core.h')
-rw-r--r--include/llvm-c/Core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index d8a491d82b..39c3cb4011 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -322,6 +322,7 @@ void LLVMSetTarget(LLVMModuleRef M, const char *Triple);
LLVMBool LLVMAddTypeName(LLVMModuleRef M, const char *Name, LLVMTypeRef Ty);
void LLVMDeleteTypeName(LLVMModuleRef M, const char *Name);
LLVMTypeRef LLVMGetTypeByName(LLVMModuleRef M, const char *Name);
+const char *LLVMGetTypeName(LLVMModuleRef M, LLVMTypeRef Ty);
/** See Module::dump. */
void LLVMDumpModule(LLVMModuleRef M);