Class FixupFriendTemplateDeclarations#

Inheritance Relationships#

Base Type#

  • public ROSE_VisitTraversal

Class Documentation#

class FixupFriendTemplateDeclarations : public ROSE_VisitTraversal#

This traversal uses the Memory Pool traversal to fixup the friend specifications on template declarations.

There appears to be no way to tell if a template declaration for a function is marked as friend except that the scopes are different. So we use this information to explicitly mark friends.

Public Functions

inline virtual ~FixupFriendTemplateDeclarations()#
void visit(SgNode *node)#

Required traversal function.