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]]
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

This class represents strings within the IR nodes.

scopes

Exact semantic and canonical symbol scopes for a template‐class surface.

templateSpecializationNameOverride

This class represents strings within the IR nodes.

Created with MrDocs