Skip to content

SgNodeHelper::getInitializerExpressionOfVariableDeclaration

returns the initializer expression of a variable declaration. If no initializer exists it returns 0.

Synopsis

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

SgExpression*
getInitializerExpressionOfVariableDeclaration(SgVariableDeclaration* decl);

Return Value

This class represents the notion of an expression. Expressions

Parameters

Name

Description

decl

This class represents the concept of a C or C++ variable declaration.

Created with MrDocs