Static Value-Flow Analysis
Loading...
Searching...
No Matches
SVF::TCT::FunObjVarIdCmp Struct Reference

#include <TCT.h>

Public Member Functions

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

Detailed Description

Order functions by id (thread ids are assigned in iteration order over the entry-function set). Null-safe: null functions order first.

Definition at line 164 of file TCT.h.

Member Function Documentation

◆ operator()()

bool SVF::TCT::FunObjVarIdCmp::operator() ( const FunObjVar * lhs,
const FunObjVar * rhs ) const
inline

Definition at line 166 of file TCT.h.

167 {
168 if (lhs == nullptr || rhs == nullptr)
169 return lhs == nullptr && rhs != nullptr;
170 return lhs->getId() < rhs->getId();
171 }

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