Skip to content

SageBuilder::buildForStatement

Build a for statement, assume none of the arguments is NULL

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
SgForStatement*
buildForStatement(
    SgStatement* initialize_stmt,
    SgStatement* test,
    SgExpression* increment,
    SgStatement* loop_body);

Return Value

This class represents the concept of a for loop.

Parameters

Name

Description

initialize_stmt

This class represents the notion of a statement.

test

This class represents the notion of a statement.

increment

This class represents the notion of an expression. Expressions

loop_body

This class represents the notion of a statement.

Created with MrDocs