Skip to content

ASTtools::replaceStatement

Replaces one statement with another.

Synopsis

Declared in <src/midend/programTransformation/astOutlining/StmtRewrite.hh>

void
replaceStatement(
    SgStatement* s_cur,
    SgStatement* s_new);

Parameters

Name

Description

s_cur

This class represents the notion of a statement.

s_new

This class represents the notion of a statement.

Created with MrDocs