Skip to content

SageBuilder::attachSemanticDeclarationScope

Attach semantic-only declaration-scope infrastructure to its exact structural owner. Both the container and scope must already carry exact semantic provenance; this operation never publishes a physical output owner or reclassifies their subtree.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility("default")]]
void
attachSemanticDeclarationScope(
    SgScopeStatement* owner,
    SgDeclarationScope* scope);

Parameters

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

Created with MrDocs