Skip to content

SageBuilder::fixupSharingSourcePosition

Sharing IR nodes requires that the file id be added to the fileIDsToUnparse held in the Sg_File_Info object.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
void
fixupSharingSourcePosition(
    SgNode* subtreeRoot,
    int new_file_id);

Parameters

Name

Description

subtreeRoot

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

Created with MrDocs