Program Listing for File resetTemplateNames.h#
↰ Return to documentation for file (src/frontend/SageIII/astPostProcessing/resetTemplateNames.h)
#ifndef RESET_TEMPLATE_NAMES_H
#define RESET_TEMPLATE_NAMES_H
void resetTemplateNames( SgNode* node );
class ResetTemplateNames
: public SgSimpleProcessing
{
public:
void visitType ( SgType* typeNode );
void visit (SgNode* node);
void resetTemplateNamesInAllScopes ( SgScopeStatement* scope );
};
#if 1
// If this traveral is useful then the other one should be remove or commented out!
// DQ (2/10/2007): Converted this traversal to use the memory pool traversal
class ResetTemplateNamesOnMemoryPool
// : public SgSimpleProcessing
: public ROSE_VisitTraversal
{
public:
// void visitType ( SgType* typeNode );
void visit (SgNode* node);
// void resetTemplateNamesInAllScopes ( SgScopeStatement* scope );
// This avoids a warning by g++
virtual ~ResetTemplateNamesOnMemoryPool() {};
};
#endif
// endif for RESET_TEMPLATE_NAMES_H
#endif