Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 475d65c

Browse files
committedSep 15, 2024·
remove deprecated functions
1 parent 86445c8 commit 475d65c

File tree

1 file changed

+0
-10
lines changed
  • compiler/rustc_codegen_llvm/src/llvm

1 file changed

+0
-10
lines changed
 

‎compiler/rustc_codegen_llvm/src/llvm/ffi.rs

-10
Original file line numberDiff line numberDiff line change
@@ -912,17 +912,7 @@ unsafe extern "C" {
912912
pub fn LLVMGetPoison(Ty: &Type) -> &Value;
913913

914914
// Operations on metadata
915-
#[deprecated = "replace with LLVMMDStringInContext2"]
916-
pub fn LLVMMDStringInContext(C: &Context, Str: *const c_char, SLen: c_uint) -> &Value;
917-
918915
pub fn LLVMMDStringInContext2(C: &Context, Str: *const c_char, SLen: size_t) -> &Metadata;
919-
920-
#[deprecated = "replace with LLVMMDNodeInContext2"]
921-
pub fn LLVMMDNodeInContext<'a>(
922-
C: &'a Context,
923-
Vals: *const &'a Value,
924-
Count: c_uint,
925-
) -> &'a Value;
926916
pub fn LLVMMDNodeInContext2<'a>(
927917
C: &'a Context,
928918
Vals: *const &'a Metadata,

0 commit comments

Comments
 (0)
Please sign in to comment.