SageBuilder::buildUnpublishedVariableDeclarationWithEmbeddedTag_nfi
Build an embeddedâtag variable subtree without publishing its symbol. The frontend must attach exact redeclaration identity and publish the symbol in the same construction transaction.
Synopsis
Declared in <SageIII/sageInterface/sageBuilder.h>
[[visibility]]
SgVariableDeclaration*
buildUnpublishedVariableDeclarationWithEmbeddedTag_nfi(
SgName const& name,
SgType* type,
SgInitializer* varInit,
SgScopeStatement* scope,
SgDeclarationStatement* embeddedDefinition,
SgStorageModifier::storage_modifier_enum sm = SgStorageModifier::e_default);
Return Value
This class represents the concept of a C or C++ variable declaration.
Parameters
Name |
Description |
name |
This class represents strings within the IR nodes. |
type |
This class represents the base class for all types. |
varInit |
This class represents the notion of an initializer for a variable declaration or |
scope |
This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.). |
embeddedDefinition |
This class represents the concept of a declaration statement. |
sm |
Storage Modifiers (only one value can be specified) |
Created with MrDocs