Static Value-Flow Analysis
Public Member Functions | List of all members
std::hash< SVF::AccessPath > Struct Reference

#include <AccessPath.h>

Public Member Functions

size_t operator() (const SVF::AccessPath &ap) const
 

Detailed Description

Definition at line 184 of file AccessPath.h.

Member Function Documentation

◆ operator()()

size_t std::hash< SVF::AccessPath >::operator() ( const SVF::AccessPath ap) const
inline

Definition at line 186 of file AccessPath.h.

187  {
189  std::hash<SVF::AccessPath::IdxOperandPairs> v;
190  return h(std::make_pair(ap.getConstantStructFldIdx(),
191  v(ap.getIdxOperandPairVec())));
192  }
APOffset getConstantStructFldIdx() const
Get methods.
Definition: AccessPath.h:100
const IdxOperandPairs & getIdxOperandPairVec() const
Definition: AccessPath.h:108
provide extra hash function for std::pair handling
Definition: GeneralType.h:85

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