Static Value-Flow Analysis
Public Member Functions | List of all members
SVF::MemRegion::equalMemRegion Struct Reference

#include <MemRegion.h>

Public Member Functions

bool operator() (const MemRegion *lhs, const MemRegion *rhs) const
 

Detailed Description

add the hash function here to sort elements and remove and remove duplicated element in the set (binary tree comparison)

Definition at line 112 of file MemRegion.h.

Member Function Documentation

◆ operator()()

bool SVF::MemRegion::equalMemRegion::operator() ( const MemRegion lhs,
const MemRegion rhs 
) const
inline

Definition at line 114 of file MemRegion.h.

115  {
116  return SVFUtil::cmpNodeBS(lhs->getPointsTo(), rhs->getPointsTo());
117  }
bool cmpNodeBS(const NodeBS &lpts, const NodeBS &rpts)
Definition: SVFUtil.h:125

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