Skip to content

SgNodeHelper::getCond

returns the root node representing the AST of the condition of If, While, DoWhile, For, CondOperator, switch.

Synopsis

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

SgNode*
getCond(SgNode* node);

Return Value

This class represents the base class for all IR nodes within Sage III.

Parameters

Name

Description

node

This class represents the base class for all IR nodes within Sage III.

Created with MrDocs