Static Value-Flow Analysis
Loading...
Searching...
No Matches
std::hash< SVF::CxtProc > Struct Reference

#include <CxtStmt.h>

Public Member Functions

size_t operator() (const SVF::CxtProc &cp) const

Detailed Description

Definition at line 501 of file CxtStmt.h.

Member Function Documentation

◆ operator()()

size_t std::hash< SVF::CxtProc >::operator() ( const SVF::CxtProc & cp) const
inline

Definition at line 503 of file CxtStmt.h.

504 {
505 std::hash<SVF::CallStrCxt> ch;
506 SVF::Hash<std::pair<SVF::NodeID, size_t>> pairH;
507 return pairH({cp.getProc()->getId(), ch(cp.getContext())});
508 }
NodeID getId() const
Get the memory object id.
const CallStrCxt & getContext() const
Return current context.
Definition CxtStmt.h:330
const FunObjVar * getProc() const
Return current procedure.
Definition CxtStmt.h:325

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