Skip to content

SageBuilder::buildSemanticNonrealType

All overloads of SageBuilder::buildSemanticNonrealType

Build a semantic non-real dependent type (optionally with template arguments). Every structurally owned located template-argument node must be unclassified or already have exact compiler-generated semantic provenance. The optional template declaration is linked before the internal SgNonrealDecl is published.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility("default")]]
SgNonrealType*
buildSemanticNonrealType(
    SgName const& name,
    SgScopeStatement* scope,
    SgTemplateArgumentPtrList const* tplArgs,
    SgDeclarationStatement* templateDeclaration = nullptr,
    SgType* aliasedType = nullptr);

Parameters

Name Description
name String-backed name value used by AST nodes.
scope This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.).
templateDeclaration This class represents the concept of a declaration statement.
aliasedType This class represents the base class for all types.

Created with MrDocs