libabigail
|
A hashing functor for instances and pointers of var_decl. More...
#include <abg-ir.h>
Public Member Functions | |
size_t | operator() (const var_decl &t) const |
Compute a hash for an instance var_decl. More... | |
size_t | operator() (const var_decl *t) const |
Compute a hash for a pointer to var_decl. More... | |
size_t operator() | ( | const var_decl & | t | ) | const |
Compute a hash for an instance var_decl.
Note that this function caches the hashing value the decl_base::hash_ data member of the input instance and re-uses it when it is already calculated.
t | the instance of var_decl to compute the hash for. |
Definition at line 357 of file abg-hash.cc.
size_t operator() | ( | const var_decl * | t | ) | const |
Compute a hash for a pointer to var_decl.
t | the pointer to var_decl to compute the hash for. |
Definition at line 383 of file abg-hash.cc.