build_c_style_enum_di_node in rustc_codegen_llvm::debuginfo::metadata::enums - Rust
Description: Build the debuginfo node for a C-style enum, i.e. an enum the variants of which have no fields.

Skip to main content

## build_c_style_enum_di_node

# Function build_c_style_enum_di_node

Source

    fn build_c_style_enum_di_node<'ll, 'tcx>(
        cx: &GenericCx<'ll, FullCx<'ll, 'tcx>>,
        enum_adt_def: AdtDef<'tcx>,
        enum_type_and_layout: TyAndLayout<'tcx>,
    ) -> DINodeCreationResult<'ll>

Expand description

Build the debuginfo node for a C-style enum, i.e. an enum the variants of which have no fields.

The resulting debuginfo will be a DW_TAG_enumeration_type.