Function CallTargetSet::getDefinitionsForExpression

Function CallTargetSet::getDefinitionsForExpression#

Function Documentation#

void CallTargetSet::getDefinitionsForExpression(SgExpression *exp, ClassHierarchyWrapper *classHierarchy, Rose_STL_Container<SgFunctionDefinition*> &calleeList)#

Populates functionList with definitions of all functions that may get called. This is basically a wrapper around getPropertiesForExpression that extracts the SgFunctionDefinition from the Properties object. This returns only callees that have definitions - to get all possible callees, use getDeclarationsForExpression.