Skip to content

SageInterface::replaceStatement

Replace a statement with another. Move preprocessing information from oldStmt to newStmt if requested.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility("default")]]
void
replaceStatement(
    SgStatement* oldStmt,
    SgStatement* newStmt,
    bool movePreprocessinInfo = false);

Parameters

Name Description
oldStmt This class represents the notion of a statement.
newStmt This class represents the notion of a statement.

Created with MrDocs