Skip to content

SgSimpleProcessing

Synopsis

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

Base Classes

Name

Description

AstSimpleProcessing

Class for traversing the AST.

Derived Classes

Name

Description

AstNodeTraversalStatistics

AstNodeVisitMapping

AstTextAttributesHandling

AstWarnings

This is a mechanism for reporting warnings about the AST, subtrees, and IR nodes.

CallGraph

CollectTemplateInstantiationsMarkedForOutput

DetectTransformations

There sould not be any IR nodes marked as a transformation coming from the legacy frontend/ROSE translation. This test enforces this.

FixupDeclarations

Initialize the definingDeclaration and firstNondefiningDeclaration pointers in SgDeclarationStatement consistantly for all declarations. Also fixup special case of multiple forward declaration where only the first one (the firstNondefiningDeclaration) get a valid pointer to the defining declaration if it exists.

FixupInClassDataInitialization

Modified const double variable initialized in‐class to be static const double with initializer.

FixupStorageAccessOfForwardTemplateDeclarations

Fixup the storage access of all compiler‐generated forward declarations (non‐defining declarations) to match that of the defining declaration.

FixupTemplateArguments

FixupTemplateInstantiations

FixupforGnuBackendCompiler

Recognize and eliminate redundent calls to the same casting operator (or constructor initializer)

FunctionCallNormalization

MarkAsCompilerGenerated

Mark an AST subtree as compiler generated (used for instatiated templates generated by ROSE as specializations).

MarkForOutputInCodeGeneration

Mark an AST subtree as compiler generated and to be output in the source file (code generation phase).

MarkLhsValues

Explicitly mark lhs operands of specific operators as lvalues.

MarkOverloadedTemplateInstantiations

Mark any template instatiations that are overloaded (we can't output these since g++ can't resolve them).

ResetParentPointersOfClassAndNamespaceDeclarations

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

ResetTemplateNames

Sets names of template classes.

Created with MrDocs