GCC Middle and Back End API Reference
enum_type Struct Reference

#include <read-md.h>

Collaboration diagram for enum_type:

Data Fields

char * name
bool md_p
struct enum_valuevalues
struct enum_value ** tail_ptr
unsigned int num_values

Detailed Description

   This structure represents an enum defined by define_enum or the like.  

Field Documentation

bool enum_type::md_p
     True if this is an md-style enum (DEFINE_ENUM) rather than
     a C-style enum (DEFINE_C_ENUM).  

Referenced by handle_constants().

char* enum_type::name
     The C name of the enumeration.  

Referenced by handle_constants().

unsigned int enum_type::num_values
     The number of enumeration values.  

Referenced by handle_constants().

struct enum_value** enum_type::tail_ptr
     A pointer to the null terminator in VALUES.  

Referenced by handle_constants().

struct enum_value* enum_type::values
     The values of the enumeration.  There is always at least one.  

Referenced by handle_constants().


The documentation for this struct was generated from the following file: