Static Value-Flow Analysis
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SVF::Hash< NodePair > Struct Reference

#include <GeneralType.h>

Public Member Functions

size_t operator() (const NodePair &p) const
 

Detailed Description

Definition at line 103 of file GeneralType.h.

Member Function Documentation

◆ operator()()

size_t SVF::Hash< NodePair >::operator() ( const NodePair p) const
inline

Definition at line 105 of file GeneralType.h.

106 {
107 // Make sure our assumptions are sound: use u32_t
108 // and u64_t. If NodeID is not actually u32_t or size_t
109 // is not u64_t we should be fine since we get a
110 // consistent result.
111 uint32_t first = (uint32_t)(p.first);
112 uint32_t second = (uint32_t)(p.second);
113 return ((uint64_t)(first) << 32) | (uint64_t)(second);
114 }
cJSON * p
Definition cJSON.cpp:2559
llvm::IRBuilder IRBuilder
Definition BasicTypes.h:76

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