summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2011-11-04 17:07:11 +0000
committerChad Rosier <mcrosier@apple.com>2011-11-04 17:07:11 +0000
commit2fb655eefe700deca4fc14a7375dc1a0747ad35d (patch)
treef834f2c712baa1b883a0b19fdf7f7582d6725010 /include
parentefd2d5e1c48e9e530d2323123d28120f50dfed76 (diff)
downloadllvm-2fb655eefe700deca4fc14a7375dc1a0747ad35d.tar.gz
llvm-2fb655eefe700deca4fc14a7375dc1a0747ad35d.tar.bz2
llvm-2fb655eefe700deca4fc14a7375dc1a0747ad35d.tar.xz
Remove declarations for functions that don't exist (and never have).
Patch by Anders Waldenborg <anders@0x63.nu>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143705 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm-c/Core.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index d23b91c4e0..3ffaddd990 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -540,7 +540,7 @@ LLVMUseRef LLVMGetNextUse(LLVMUseRef U);
LLVMValueRef LLVMGetUser(LLVMUseRef U);
LLVMValueRef LLVMGetUsedValue(LLVMUseRef U);
-/* Operations on Users */
+/* Operations on Users and metadata */
LLVMValueRef LLVMGetOperand(LLVMValueRef Val, unsigned Index);
void LLVMSetOperand(LLVMValueRef User, unsigned Index, LLVMValueRef Val);
int LLVMGetNumOperands(LLVMValueRef Val);
@@ -562,8 +562,6 @@ LLVMValueRef LLVMMDNodeInContext(LLVMContextRef C, LLVMValueRef *Vals,
unsigned Count);
LLVMValueRef LLVMMDNode(LLVMValueRef *Vals, unsigned Count);
const char *LLVMGetMDString(LLVMValueRef V, unsigned* Len);
-int LLVMGetMDNodeNumOperands(LLVMValueRef V);
-LLVMValueRef *LLVMGetMDNodeOperand(LLVMValueRef V, unsigned i);
unsigned LLVMGetNamedMetadataNumOperands(LLVMModuleRef M, const char* name);
void LLVMGetNamedMetadataOperands(LLVMModuleRef M, const char* name, LLVMValueRef *Dest);