Static Value-Flow Analysis
Loading...
Searching...
No Matches
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 192 of file AccessPath.h.

Member Function Documentation

◆ operator()()

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

Definition at line 194 of file AccessPath.h.

195 {
196 SVF::Hash<std::pair<SVF::NodeID, SVF::NodeID>> h;
197 std::hash<SVF::AccessPath::IdxOperandPairs> v;
198 return h(std::make_pair(ap.getConstantStructFldIdx(),
199 v(ap.getIdxOperandPairVec())));
200 }
APOffset getConstantStructFldIdx() const
Get methods.
Definition AccessPath.h:102
const IdxOperandPairs & getIdxOperandPairVec() const
Definition AccessPath.h:110

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