Skip to content

AstQueryNamespace::queryMemoryPool

** The function void queryMemoryPool(ROSE_VisitTraversal& astQuery, VariantVector_variantsToTraverse); traverses the parts of the memory pool which hascorresponding variants in VariantVector.**_

Synopsis

Declared in <src/midend/astQuery/astQuery.h>

template<class FunctionalType>
void
queryMemoryPool(
    AstQuery<ROSE_VisitTraversal, FunctionalType>& astQuery,
    VariantVector* variantsToTraverse);

Parameters

Name

Description

astQuery

* The class class AstQuery traverses the memory pool and performs the action specified in a functional on every node. The return value is a list of SgNode*.*****

Created with MrDocs