InstructionValue::new
is pub(crate)
instead of pub
#424
Labels
Milestone
InstructionValue::new
is pub(crate)
instead of pub
#424
As of #366, the policy for wrapper types is to be able to (unsafely) convert them to/from their underlying LLVM types. (Aside: I am really glad that this proposal was accepted because I have recently needed some LLVM features that are not even exposed in the LLVM C API yet e.g.
GlobalValue::setDSOLocal
; upstreaming those things all the way through the LLVM C API tollvm-sys
toinkwell
will take a long time.)InstructionValue::new
seems to have fallen through the cracks.EDIT: It seems like there are actually quite a few types that do not have
LLVMValueRef
toSelf
conversions. So, the thing to do might be for someone to eventually go through all the core types and make sure they have these conversions in one big pass.The text was updated successfully, but these errors were encountered: