Skip to content

TestChildPointersInMemoryPool

This traversal uses the Memory Pool traversal to test parent pointers.

Synopsis

Declared in <src/midend/astDiagnostics/AstConsistencyTests.h>

class TestChildPointersInMemoryPool
    : public ROSE_VisitTraversal

Description

This traversal uses the Memory Pool traversal to test parent pointers (e.g. declarations that are hidden from the AST traversal). This traversal traverses the whole AST using the memory pool traversal.

Base Classes

Name Description
ROSE_VisitTraversal

Member Functions

Name Description
~TestChildPointersInMemoryPool
virtual ~TestChildPointersInMemoryPool(); [destructor] [virtual]
Destructor
visit
virtual void visit(SgNode*); [virtual]

Static Member Functions

Name Description
test
static void test();
static function to do test on any IR node

Private Types

Name
ParentEdge

Private Static Member Functions

Name
reportMissingChild
static void reportMissingChild( SgNode* node, SgNode* parent);

Private Data Members

Name
edges

Created with MrDocs