aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm-c/Core.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-07-14 16:20:28 +0000
committerChris Lattner <sabre@nondot.org>2011-07-14 16:20:28 +0000
commit61afc8820f2bc85f7b7158850a0250f9d8c1ebaa (patch)
tree268cb787942e1b206d44377484d94eccc3016179 /include/llvm-c/Core.h
parentc7e33965f0690d407d2ec2dc8036a58af94c0542 (diff)
downloadexternal_llvm-61afc8820f2bc85f7b7158850a0250f9d8c1ebaa.zip
external_llvm-61afc8820f2bc85f7b7158850a0250f9d8c1ebaa.tar.gz
external_llvm-61afc8820f2bc85f7b7158850a0250f9d8c1ebaa.tar.bz2
add a couple more missing C api, patch by Vitaly Lugovskiy!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135151 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c/Core.h')
-rw-r--r--include/llvm-c/Core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index e3dce58..fc33ab7 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -394,6 +394,9 @@ void LLVMStructSetBody(LLVMTypeRef StructTy, LLVMTypeRef *ElementTypes,
unsigned LLVMCountStructElementTypes(LLVMTypeRef StructTy);
void LLVMGetStructElementTypes(LLVMTypeRef StructTy, LLVMTypeRef *Dest);
LLVMBool LLVMIsPackedStruct(LLVMTypeRef StructTy);
+LLVMBool LLVMIsOpaqueStruct(LLVMTypeRef StructTy);
+
+LLVMTypeRef LLVMGetTypeByName(LLVMModuleRef M, const char *Name);
/* Operations on array, pointer, and vector types (sequence types) */
LLVMTypeRef LLVMArrayType(LLVMTypeRef ElementType, unsigned ElementCount);