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

Public Types

typedef string_slot value_type
typedef string_slot compare_type

Static Public Member Functions

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

Detailed Description


Read the GIMPLE representation from a file stream.

Copyright (C) 2009-2013 Free Software Foundation, Inc. Contributed by Kenneth Zadeck zadec.nosp@m.k@na.nosp@m.tural.nosp@m.brid.nosp@m.ge.co.nosp@m.m Re-implemented by Diego Novillo dnovi.nosp@m.llo@.nosp@m.googl.nosp@m.e.co.nosp@m.m

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see http://www.gnu.org/licenses/.

Member Typedef Documentation

Member Function Documentation

bool string_slot_hasher::equal ( const value_type ds1,
const compare_type ds2 
   Returns nonzero if DS1 and DS2 are equal.  
hashval_t string_slot_hasher::hash ( const value_type ds)
   Returns a hash code for DS.  Adapted from libiberty's htab_hash_string
   to support strings that may not end in '\0'.  
void freeing_string_slot_hasher::remove ( value_type v)

Reimplemented from typed_noop_remove< string_slot >.

References free().

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