@@ -21,9 +21,9 @@ use llvm_sys::core::{
21
21
LLVMInsertIntoBuilderWithName , LLVMPositionBuilder , LLVMPositionBuilderAtEnd , LLVMPositionBuilderBefore ,
22
22
LLVMSetCleanup ,
23
23
} ;
24
- #[ llvm_versions( ..=14 ) ]
24
+ #[ llvm_versions( ..=13 ) ]
25
25
use llvm_sys:: core:: { LLVMBuildCall , LLVMBuildInvoke } ;
26
- #[ llvm_versions( 15 ..) ]
26
+ #[ llvm_versions( 14 ..) ]
27
27
use llvm_sys:: core:: { LLVMBuildCall2 , LLVMBuildInvoke2 } ;
28
28
#[ cfg( all( feature = "typed-pointers" , not( feature = "llvm16-0" ) ) ) ]
29
29
#[ cfg_attr( feature = "llvm15-0" , allow( deprecated) ) ]
@@ -220,7 +220,7 @@ impl<'ctx> Builder<'ctx> {
220
220
///
221
221
/// builder.build_return(Some(&ret_val)).unwrap();
222
222
/// ```
223
- #[ llvm_versions( ..=14 ) ]
223
+ #[ llvm_versions( ..=13 ) ]
224
224
pub fn build_call < F > (
225
225
& self ,
226
226
function : F ,
@@ -256,7 +256,7 @@ impl<'ctx> Builder<'ctx> {
256
256
}
257
257
258
258
/// Builds a function call instruction. Alias for [Builder::build_direct_call].
259
- #[ llvm_versions( 15 ..) ]
259
+ #[ llvm_versions( 14 ..) ]
260
260
pub fn build_call (
261
261
& self ,
262
262
function : FunctionValue < ' ctx > ,
@@ -297,7 +297,7 @@ impl<'ctx> Builder<'ctx> {
297
297
///
298
298
/// builder.build_return(Some(&ret_val)).unwrap();
299
299
/// ```
300
- #[ llvm_versions( 15 ..) ]
300
+ #[ llvm_versions( 14 ..) ]
301
301
pub fn build_direct_call (
302
302
& self ,
303
303
function : FunctionValue < ' ctx > ,
@@ -427,7 +427,7 @@ impl<'ctx> Builder<'ctx> {
427
427
)
428
428
}
429
429
430
- #[ llvm_versions( 15 ..) ]
430
+ #[ llvm_versions( 14 ..) ]
431
431
fn build_call_help (
432
432
& self ,
433
433
function_type : FunctionType < ' ctx > ,
@@ -588,7 +588,7 @@ impl<'ctx> Builder<'ctx> {
588
588
/// builder.build_return(Some(&f32_type.const_zero())).unwrap();
589
589
/// }
590
590
/// ```
591
- #[ llvm_versions( ..=14 ) ]
591
+ #[ llvm_versions( ..=13 ) ]
592
592
pub fn build_invoke < F > (
593
593
& self ,
594
594
function : F ,
@@ -709,7 +709,7 @@ impl<'ctx> Builder<'ctx> {
709
709
/// builder.build_return(Some(&f32_type.const_zero())).unwrap();
710
710
/// }
711
711
/// ```
712
- #[ llvm_versions( 15 ..) ]
712
+ #[ llvm_versions( 14 ..) ]
713
713
pub fn build_invoke (
714
714
& self ,
715
715
function : FunctionValue < ' ctx > ,
@@ -724,7 +724,7 @@ impl<'ctx> Builder<'ctx> {
724
724
self . build_direct_invoke ( function, args, then_block, catch_block, name)
725
725
}
726
726
727
- #[ llvm_versions( 15 ..) ]
727
+ #[ llvm_versions( 14 ..) ]
728
728
pub fn build_direct_invoke (
729
729
& self ,
730
730
function : FunctionValue < ' ctx > ,
@@ -769,7 +769,7 @@ impl<'ctx> Builder<'ctx> {
769
769
)
770
770
}
771
771
772
- #[ llvm_versions( 15 ..) ]
772
+ #[ llvm_versions( 14 ..) ]
773
773
fn build_invoke_help (
774
774
& self ,
775
775
fn_ty : FunctionType < ' ctx > ,
0 commit comments