SageInterface::collectReadOnlySymbols¶
Collect read only variable symbols 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("default")]]
void
collectReadOnlySymbols(
SgStatement* stmt,
std::set<SgVariableSymbol*>& readOnlySymbols,
bool coarseGrain = true); Parameters¶
| Name | Description |
|---|---|
| stmt | This class represents the notion of a statement. |
Created with MrDocs