Skip to content

SageInterface::relocateAttachedPreprocessingInfoPhysicalOutputOwner

Relocate an already‐published preprocessing record whose typed output placement is the attached AST boundary. The record must identify priorOwner exactly; detached, shared, source‐position‐owned, or differently owned records are hard errors. Source/generated spelling provenance is immutable.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
void
relocateAttachedPreprocessingInfoPhysicalOutputOwner(
    PreprocessingInfo* record,
    SgLocatedNode* priorOwner,
    SgLocatedNode* exactOwner);

Parameters

Name

Description

record

For preprocessing information including source comments, include , if, define, etc

priorOwner

This class represents the notion of an expression or statement which

exactOwner

This class represents the notion of an expression or statement which

Created with MrDocs