1
Fork 0

Remove LLVMRustDIBuilderInsertDeclareAtEnd return value

The return value changed from an Instruction to a DbgRecord in
LLVM 19. As we don't actually use the result, drop the return
value entirely to support both.
This commit is contained in:
Nikita Popov 2024-07-12 14:52:26 +02:00 committed by Nikita Popov
parent 776b0adaaf
commit 8dfd3a455d
2 changed files with 7 additions and 12 deletions

View file

@ -2057,7 +2057,7 @@ extern "C" {
AddrOpsCount: c_uint,
DL: &'a DILocation,
InsertAtEnd: &'a BasicBlock,
) -> &'a Value;
);
pub fn LLVMRustDIBuilderCreateEnumerator<'a>(
Builder: &DIBuilder<'a>,