Skip to content

ExtractFunctionArguments::InsertStatement

Insert a new statement in the specified location. The actual insertion can occur either before or after the location depending on the insertion mode.

Synopsis

Declared in <src/midend/programTransformation/extractFunctionArgumentsNormalization/ExtractFunctionArguments.h>

void
InsertStatement(
    SgStatement* newStatement,
    SgStatement* location,
    FunctionCallInfo const& insertionMode);

Parameters

Name

Description

newStatement

This class represents the notion of a statement.

location

This class represents the notion of a statement.

insertionMode

Stores a function call expression, along with associated information about its context.

Created with MrDocs