libabigail
|
A hashing functor fo instances and pointers of function_decl. More...
#include <abg-ir.h>
Public Member Functions | |
size_t | operator() (const function_decl &t) const |
Compute a hash value for an instance of function_decl. More... | |
size_t | operator() (const function_decl *t) const |
Compute a hash for a pointer to function_decl. More... | |
A hashing functor fo instances and pointers of function_decl.
size_t operator() | ( | const function_decl & | t | ) | const |
Compute a hash value for an instance of function_decl.
Note that this function caches the resulting hash in the decl_base::hash_ data member of the instance of function_decl, and just returns if it is already calculated.
t | the function to calculate the hash for. |
Definition at line 396 of file abg-hash.cc.
size_t operator() | ( | const function_decl * | t | ) | const |
Compute a hash for a pointer to function_decl.
t | the pointer to function_decl to compute the hash for. |
Definition at line 435 of file abg-hash.cc.