Skip to content

SageBuilder::buildNondefiningTemplateClassRedeclaration_nfi

Build one nondefining redeclaration of an existing template class. The canonical declaration is required explicitly; the redeclaration reuses its exact type and symbol and never publishes another symbol.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility("default")]]
SgTemplateClassDeclaration*
buildNondefiningTemplateClassRedeclaration_nfi(
    declaration_ownership const& ownership,
    SgName const& name,
    SgClassDeclaration::class_types kind,
    template_class_declaration_scopes const& scopes,
    SgTemplateClassDeclaration* canonicalDeclaration,
    SgTemplateParameterPtrList* templateParameterList,
    SgTemplateArgumentPtrList* templateSpecializationArgumentList,
    SgName const* templateSpecializationNameOverride);

Parameters

Name Description
ownership Exact structural ownership selected by named declaration producers.
name String-backed name value used by AST nodes.
kind A declaration can be of either class, struct, union, or ...
scopes Exact semantic and canonical symbol scopes for a template-class surface.
templateSpecializationNameOverride String-backed name value used by AST nodes.

Created with MrDocs