Skip to content

SgNodeHelper::listOfGlobalVars

identifies the list of global variables Note: static/external can be resolved by further processing those objects

Synopsis

Declared in <src/midend/abstractLayer/SgNodeHelper.h>

std::list<SgVariableDeclaration*>
listOfGlobalVars(SgProject* project);

Return Value

A standard container with linear time access to elements, and fixed time insertion/deletion at any point in the sequence.

Parameters

Name

Description

project

This class represents a source project, with a list of SgFile objects and global

Created with MrDocs