Skip to content

SageBuilder::attachSourceDeclaratorTag

Attach a fresh source‐written class/enum declaration to its exact function declarator scope without changing its semantic symbol scope. This is the construction‐time structural transaction used by Clang TypeLoc producers; it does not synthesize source provenance or transfer an existing owner.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
void
attachSourceDeclaratorTag(
    SgDeclarationScope* owner,
    SgDeclarationStatement* declaration);

Parameters

Name

Description

declaration

This class represents the concept of a declaration statement.

Created with MrDocs