Attribute Macro inkwell_internals::llvm_versioned_item

source ·
#[llvm_versioned_item]
Expand description

This attribute is used to decorate enums, structs, or unions which may contain variants/fields which make use of #[llvm_versions(..)]

§Examples

#[llvm_versioned_item]
enum InstructionOpcode {
    Call,
    #[llvm_versions(3.8..=latest)]
    CatchPad,
    ...
}