Static Value-Flow Analysis
Loading...
Searching...
No Matches
Public Member Functions | List of all members
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 163 of file TCT.h.

Member Function Documentation

◆ operator()()

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

Definition at line 165 of file TCT.h.

166 {
167 if (lhs == nullptr || rhs == nullptr)
168 return lhs == nullptr && rhs != nullptr;
169 return lhs->getId() < rhs->getId();
170 }
llvm::IRBuilder IRBuilder
Definition BasicTypes.h:76

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