Skip to content

SageBuilder::function_declaration_ownership::withCanonicalFunctionTarget

Retarget an in‐progress redeclaration or canonical‐replacement transaction after re‐entrant construction has re‐rooted the same exact function family. All other typed construction properties are preserved. The replacement must be the family's self‐canonical declaration.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

function_declaration_ownership
withCanonicalFunctionTarget(SgFunctionDeclaration* target) const;

Return Value

Exact, typed structural ownership established by function‐declaration builders. Invalid kind/owner combinations cannot be constructed.

Parameters

Name

Description

target

This class represents the concept of a function declaration statement.

Created with MrDocs