Skip to content

TestParentPointersInMemoryPool

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

Synopsis

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

class TestParentPointersInMemoryPool
    : 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
~TestParentPointersInMemoryPool
virtual ~TestParentPointersInMemoryPool(); [destructor] [virtual]
Destructor
visit
virtual void visit(SgNode* node); [virtual]
Required traversal function

Static Member Functions

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

Created with MrDocs