Skip to content

Commit f224441

Browse files
committed
rustc_codegen_llvm: remove unused UseRef type.
1 parent 3eb5035 commit f224441

File tree

1 file changed

+0
-7
lines changed
  • src/librustc_codegen_llvm/llvm

1 file changed

+0
-7
lines changed

src/librustc_codegen_llvm/llvm/ffi.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,6 @@ extern { pub type PassManager; }
388388
pub type PassManagerRef = *mut PassManager;
389389
extern { pub type PassManagerBuilder; }
390390
pub type PassManagerBuilderRef = *mut PassManagerBuilder;
391-
extern { pub type Use; }
392-
pub type UseRef = *mut Use;
393391
extern { pub type ObjectFile; }
394392
pub type ObjectFileRef = *mut ObjectFile;
395393
extern { pub type SectionIterator; }
@@ -556,11 +554,6 @@ extern "C" {
556554
pub fn LLVMReplaceAllUsesWith(OldVal: &'a Value, NewVal: &'a Value);
557555
pub fn LLVMSetMetadata(Val: &'a Value, KindID: c_uint, Node: &'a Value);
558556

559-
// Operations on Uses
560-
pub fn LLVMGetFirstUse(Val: &Value) -> UseRef;
561-
pub fn LLVMGetNextUse(U: UseRef) -> UseRef;
562-
pub fn LLVMGetUser(U: UseRef) -> &'a Value;
563-
564557
// Operations on Users
565558
pub fn LLVMGetOperand(Val: &Value, Index: c_uint) -> &Value;
566559

0 commit comments

Comments
 (0)