GCC Middle and Back End API Reference
odr_hasher Struct Reference

Public Types

typedef odr_type_d value_type
typedef union tree_node compare_type

Static Public Member Functions

static hashval_t hash (const value_type *)
static bool equal (const value_type *, const compare_type *)
static void remove (value_type *)

Detailed Description

   One Definition Rule hashtable helpers.  

Member Typedef Documentation

typedef union tree_node odr_hasher::compare_type

Member Function Documentation

bool odr_hasher::equal ( const value_type t1,
const compare_type ct2 
)
inlinestatic
   Compare types T1 and T2 and return true if they are
   equivalent.  
hashval_t odr_hasher::hash ( const value_type odr_type)
inlinestatic
   Return the computed hashcode for ODR_TYPE.  

References odr_type_d::bases, odr_type_d::derived_types, pointer_set_destroy(), and odr_type_d::types_set.

void odr_hasher::remove ( value_type v)
inlinestatic

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