Skip to content

resetParentPointers

Interface function to reset parent pointers.

Synopsis

Declared in <SageIII/astPostProcessing/resetParentPointers.h>

void
resetParentPointers(
    SgNode* node,
    SgNode* parent = nullptr);

Description

Interface for resetting parent pointers (called by temporaryAstFixes() function, but also required to reset parent pointers after any addition of new AST fragments to the AST).

This function can be called directly as well.

Parameters

Name

Description

node

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

parent

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

Created with MrDocs