Skip to content

CallTargetSet::getDeclarationsForExpression

Populates functionList with declarations of all functions that may get called. This is basically a wrapper around getPropertiesForExpression.

Synopsis

Declared in <src/midend/programAnalysis/CallGraphAnalysis/CallGraph.h>

void
getDeclarationsForExpression(
    SgExpression* exp,
    ClassHierarchyWrapper* classHierarchy,
    std::vector<SgFunctionDeclaration*>& calleeList,
    bool includePureVirtualFunc = false);

Parameters

Name

Description

exp

This class represents the notion of an expression. Expressions

calleeList

A standard container which offers fixed time access to individual elements in any order.

Created with MrDocs