Skip to content

SageBuilder::attachAuxiliaryDeclaration

Own a semantic‐only declaration without adding it to source emission.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
void
attachAuxiliaryDeclaration(
    SgScopeStatement* owner,
    SgDeclarationStatement* declaration);

Parameters

Name

Description

owner

This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.).

declaration

This class represents the concept of a declaration statement.

Created with MrDocs