rustc_codegen_llvm::debuginfo::metadata::enums::cpp_like

Function build_single_variant_union_fields

Source
fn build_single_variant_union_fields<'ll, 'tcx>(
    cx: &CodegenCx<'ll, 'tcx>,
    enum_adt_def: AdtDef<'tcx>,
    enum_type_and_layout: TyAndLayout<'tcx>,
    enum_type_di_node: &'ll DIType,
    variant_index: VariantIdx,
) -> SmallVec<[&'ll DIType; 16]>