GCC Middle and Back End API Reference
ehspec_hasher Struct Reference
Inheritance diagram for ehspec_hasher:
Collaboration diagram for ehspec_hasher:

Public Types

typedef ttypes_filtervalue_type
 
typedef ttypes_filtercompare_type
 

Static Public Member Functions

static hashval_t hash (const ttypes_filter *)
 
static bool equal (const ttypes_filter *, const ttypes_filter *)
 
static hashval_t hash (const value_type &)
 
static bool equal (const value_type &existing, const compare_type &candidate)
 
static void mark_deleted (ttypes_filter *&)
 
static void mark_empty (ttypes_filter *&)
 
static bool is_deleted (ttypes_filter *)
 
static bool is_empty (ttypes_filter *)
 
static void remove (ttypes_filter *p)
 

Static Public Attributes

static const bool empty_zero_p
 

Detailed Description

Helper for ehspec hashing.   

Member Typedef Documentation

◆ compare_type

ttypes_filter* pointer_hash< ttypes_filter >::compare_type
inherited

◆ value_type

ttypes_filter* pointer_hash< ttypes_filter >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

bool ehspec_hasher::equal ( const ttypes_filter * entry,
const ttypes_filter * data )
inlinestatic
Compare ENTRY with DATA (both struct ttypes_filter) for a @TTypes
exception specification list we are thinking about adding.   
??? Currently we use the type lists in the order given.  Someone
should put these in some canonical order.   

References ttypes_filter::t, and type_list_equal().

◆ equal() [2/2]

bool pointer_hash< ttypes_filter >::equal ( const value_type & existing,
const compare_type & candidate )
inlinestaticinherited

◆ hash() [1/2]

hashval_t ehspec_hasher::hash ( const ttypes_filter * entry)
inlinestatic
Hash function for exception specification lists.   

References ttypes_filter::t, TREE_CHAIN, TREE_HASH, and TREE_VALUE.

◆ hash() [2/2]

hashval_t pointer_hash< ttypes_filter >::hash ( const value_type & candidate)
inlinestaticinherited

◆ is_deleted()

bool pointer_hash< ttypes_filter >::is_deleted ( ttypes_filter * e)
inlinestaticinherited

◆ is_empty()

bool pointer_hash< ttypes_filter >::is_empty ( ttypes_filter * e)
inlinestaticinherited

◆ mark_deleted()

void pointer_hash< ttypes_filter >::mark_deleted ( ttypes_filter *& e)
inlinestaticinherited

◆ mark_empty()

void pointer_hash< ttypes_filter >::mark_empty ( ttypes_filter *& e)
inlinestaticinherited

◆ remove()

void typed_free_remove< ttypes_filter >::remove ( ttypes_filter * p)
inlinestaticinherited
Remove with free.   

Field Documentation

◆ empty_zero_p

const bool pointer_hash< ttypes_filter >::empty_zero_p
staticinherited

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