summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-10-03 20:59:18 +0000
committerDevang Patel <dpatel@apple.com>2011-10-03 20:59:18 +0000
commit0e6a24d92ab4661bb39f838ac390ccb17f649cb5 (patch)
treeac7a70b2b813058cb97889ac22b6d082cd4736b5 /include
parentf8bf43ec99d4410c3e351c76f806208d1204129e (diff)
downloadllvm-0e6a24d92ab4661bb39f838ac390ccb17f649cb5.tar.gz
llvm-0e6a24d92ab4661bb39f838ac390ccb17f649cb5.tar.bz2
llvm-0e6a24d92ab4661bb39f838ac390ccb17f649cb5.tar.xz
Add C api for Instruction->eraseFromParent().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141023 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-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 baea5ab640..84ddfbcf89 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -776,6 +776,7 @@ LLVMValueRef LLVMGetLastInstruction(LLVMBasicBlockRef BB);
LLVMBasicBlockRef LLVMGetInstructionParent(LLVMValueRef Inst);
LLVMValueRef LLVMGetNextInstruction(LLVMValueRef Inst);
LLVMValueRef LLVMGetPreviousInstruction(LLVMValueRef Inst);
+void LLVMInstructionEraseFromParent(LLVMValueRef Inst);
/* Operations on call sites */
void LLVMSetInstructionCallConv(LLVMValueRef Instr, unsigned CC);