Function CallTargetSet::solveFunctionPointerCallsFunctional#
Defined in File CallGraph.h
Function Documentation#
-
Rose_STL_Container<SgFunctionDeclaration*> CallTargetSet::solveFunctionPointerCallsFunctional(SgNode *node, SgFunctionType *functionType)#
CallTargetSet::solveFunctionPointerCallsFunctional.
Checks if the functionDeclaration (node) matches functionType
This is a filter called by solveFunctionPointerCall. It checks that node is a functiondeclaration (or template instantiation) of type functionType. If it does, it is added to a functionList and returned. So function list can have at most 1 entry.
- Parameters:
node – [in] : The node we are checking. It must be an SgFunctionDeclaration
functionType – [in] : The function type being checked.
- Returns:
: If node matched functionType, it is added on functionList and returned. Otherwise functionList is empty.