libabigail
Public Member Functions | List of all members
scope_decl::hash Struct Reference

Hasher for the scope_decl type. More...

#include <abg-ir.h>

Public Member Functions

size_t operator() (const scope_decl &d) const
 Hashing operator for the scope_decl type. More...
 
size_t operator() (const scope_decl *d) const
 Hashing operator for the scope_decl type. More...
 

Detailed Description

Hasher for the scope_decl type.

Definition at line 1937 of file abg-ir.h.

Member Function Documentation

◆ operator()() [1/2]

size_t operator() ( const scope_decl d) const

Hashing operator for the scope_decl type.

Parameters
dthe scope_decl to hash.
Returns
the hash value.

Definition at line 169 of file abg-hash.cc.

◆ operator()() [2/2]

size_t operator() ( const scope_decl d) const

Hashing operator for the scope_decl type.

Parameters
dthe scope_decl to hash.
Returns
the hash value.

Definition at line 188 of file abg-hash.cc.


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