SageInterface::collectVariableReferencesInArrayTypes
Collect variable references in array types. The default NodeQuery::querySubTree() will miss variables referenced in array type's index list. e.g. double *buffer = new double[numItems];
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility]]
int
collectVariableReferencesInArrayTypes(
SgLocatedNode* root,
std::vector<SgNode*>& currentVarRefList);
Parameters
Name |
Description |
root |
This class represents the notion of an expression or statement which |
currentVarRefList |
A standard container which offers fixed time access to individual elements in any order. |
Created with MrDocs