SageInterface::collectReadOnlyVariables
Collect read only variables within a statement. The statement can be either of a function, a scope, or a single line statement. For accesses to members of aggregate data, we return the coarse grain aggregate mem obj by default.
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility]]
void
collectReadOnlyVariables(
SgStatement* stmt,
std::set<SgInitializedName*>& readOnlyVars,
bool coarseGrain = true);
Parameters
Name |
Description |
stmt |
This class represents the notion of a statement. |
Created with MrDocs