GCC Middle and Back End API Reference
clast_index_hasher Struct Reference

Public Types

typedef clast_name_index value_type
typedef clast_name_index 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

   Helper for hashing clast_name_index.  

Member Typedef Documentation


Member Function Documentation

bool clast_index_hasher::equal ( const value_type elt1,
const compare_type elt2 
)
inlinestatic
   Compares database elements ELT1 and ELT2.  
hashval_t clast_index_hasher::hash ( const value_type e)
inlinestatic
   Computes a hash function for database element E.  
void clast_index_hasher::remove ( value_type c)
inlinestatic
   Free the memory taken by a clast_name_index struct.  

References strlen().


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