Skip to content

legacy

Namespaces

Name

PRE

Functions

Name

Description

anyOfListPotentiallyModifiedIn
bool anyOfListPotentiallyModifiedIn(std::vector<SgVariableSymbol*> const& syms, SgNode* n);

Are any variables in syms modified anywhere within n, or is n a declaration of one of them?

countComputationsOfExpressionIn
int countComputationsOfExpressionIn(SgExpression* expr, SgNode* root);

Count how many computations of expr are within root. Same caveats as expressionComputedIn.

expressionComputedIn
bool expressionComputedIn(SgExpression* expr, SgNode* root);

Is the expression expr computed within root? This test is simple, and does not account for changes to the variables in expr.

Created with MrDocs