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

Public Types

typedef attribute_spec value_type
typedef substring 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 (attribute_spec *p)

Detailed Description

Used for attribute_hash.


Member Typedef Documentation

typedef attribute_spec attribute_hasher::value_type

Member Function Documentation

bool attribute_hasher::equal ( const value_type spec,
const compare_type str 
)
inlinestatic
hashval_t attribute_hasher::hash ( const value_type spec)
inlinestatic

References substring::length, and substring::str.

Referenced by substring_hash().

static void typed_noop_remove< attribute_spec >::remove ( attribute_spec *  p)
inlinestaticinherited

Remove doing nothing.


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