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.   

References odr_type_d::type, and types_same_for_odr().

hashval_t odr_hasher::hash ( const value_type odr_type)
inlinestatic
Return the computed hashcode for ODR_TYPE.   

References hash_type_name(), and odr_type_d::type.

void odr_hasher::remove ( value_type v)
inlinestatic
Free ODR type V.   

References odr_type_d::bases, odr_type_d::derived_types, and ggc_free().


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