Class ResetTemplateNames#

Inheritance Relationships#

Base Type#

Class Documentation#

class ResetTemplateNames : public SgSimpleProcessing#

Sets names of template classes.

This function sets the names of template class instatiations to be of the form “ABC<int>” instead of an internal form such as “ABC___L8”. In each case the old names are replaced with the new names (overwritten). The unparsed source code requires the new names, which the old names would only make since if ALL header files were to be unparsed.

Public Functions

void visitType(SgType *typeNode)#

Function to support traversal of types (where islands can hide)

virtual void visit(SgNode *node)#

Required traversal function.

void resetTemplateNamesInAllScopes(SgScopeStatement *scope)#

Function to support reset of types required for qualified names.