Skip to content

AstCycleTest::determineCycle

determines whether the given sequence l of nodes extended by node creates a cycle the found cycle is returned. If no cycle is found, the returned list is empty.

Synopsis

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

std::list<SgNode*>
determineCycle(
    std::list<SgNode*>& l,
    SgNode* node);

Return Value

A standard container with linear time access to elements, and fixed time insertion/deletion at any point in the sequence.

Parameters

Name

Description

l

A standard container with linear time access to elements, and fixed time insertion/deletion at any point in the sequence.

node

This class represents the base class for all IR nodes within Sage III.

Created with MrDocs