Skip to content

replaceChild

Replace a child of a node.

Synopsis

Declared in <src/midend/programTransformation/finiteDifferencing/patternRewrite.h>

void
replaceChild(
    SgNode* parent,
    SgNode* from,
    SgNode* to);

Parameters

Name

Description

parent

This class represents the base class for all IR nodes within Sage III.

from

This class represents the base class for all IR nodes within Sage III.

to

This class represents the base class for all IR nodes within Sage III.

Created with MrDocs