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 |
|---|---|
~TestParentPointersInMemoryPoolvirtual ~TestParentPointersInMemoryPool(); [destructor] [virtual] | Destructor |
visitvirtual void visit(SgNode* node); [virtual] | Required traversal function |
Static Member Functions¶
| Name | Description |
|---|---|
teststatic void test(); | static function to do test on any IR node |
Created with MrDocs