SageBuilder::adoptSourceDeclaratorScope¶
Transfer a detached declarator-local source scope to its exact non-function declaration owner. The scope's declarations keep their independent semantic symbol scopes; only structural source ownership changes.
Synopsis¶
Declared in <SageIII/sageInterface/sageBuilder.h>
[[visibility("default")]]
void
adoptSourceDeclaratorScope(
SgDeclarationStatement* owner,
SgDeclarationScope* scope); Parameters¶
| Name | Description |
|---|---|
| owner | This class represents the concept of a declaration statement. |
Created with MrDocs