Skip to content

Commit c1298f1

Browse files
author
Moritz Maxeiner
committed
Fixes #19
97ca81d added a duplicate (wrong) definition for lto_codegen_add_module, this has been removed.
1 parent d0a7e91 commit c1298f1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

source/llvm/functions.d

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1486,9 +1486,6 @@ static if (LLVM_Version >= asVersion(3, 6, 0)) {
14861486
}
14871487
void lto_codegen_dispose(lto_code_gen_t);
14881488
bool lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod);
1489-
static if (LLVM_Version >= asVersion(3, 7, 0)) {
1490-
void lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod);
1491-
}
14921489
bool lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model);
14931490
bool lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model);
14941491
void lto_codegen_set_cpu(lto_code_gen_t cg, const(char)* cpu);
@@ -1758,4 +1755,4 @@ static if (LLVM_Version >= asVersion(3, 8, 0)) {
17581755
}
17591756
static if (LLVM_Version >= asVersion(3, 8, 0)) {
17601757
void LLVMOrcDisposeInstance(LLVMOrcJITStackRef JITStack);
1761-
}
1758+
}

0 commit comments

Comments
 (0)