Skip to content

SgTopDownProcessing

Synopsis

Declared in <src/midend/astProcessing/AstProcessing.h>

template<class InheritedAttributeType>
class SgTopDownProcessing
    : public AstTopDownProcessing<InheritedAttributeType>

Base Classes

Name

Description

AstTopDownProcessing<InheritedAttributeType>

Attribute evaluator for inherited attributes.

Derived Classes

Name

Description

AddPrototypesForTemplateInstantiations

FixupFunctionDefaultArguments

FixupPrettyFunctionVariables

This traversal uses inherited attributes to fixup the variables put into the AST that match the function name (a legacy frontend quirk to signal that the variable name is "*PRETTY_FUNCTION*").

LinearizeAST

MarkSharedDeclarationsForOutputInCodeGeneration

Mark an AST subtree to be unparsed using an alternative file (for multi‐file unparsing).

MarkTemplateSpecializationsForOutput

MarkTransformationsForOutput

PDFGeneration

PropagateHiddenListData

RemoveInitializedNamePtr

ResetParentPointers

This traversal implements the mechanism to reset all parent pointers (back edges in the AST graph)

Created with MrDocs