Function SgNodeHelper::setCond

Function SgNodeHelper::setCond#

Function Documentation#

void SgNodeHelper::setCond(SgStatement *stmt, SgNode *cond)#

sets ‘cond’ as the root node of the AST representing the condition in statements if, while, dowhile, for, switch.