Skip to content

LoopInterface::IsLoop

Synopsis

Declared in <src/midend/astUtil/astSupport/AnalysisInterface.h>

virtual
bool
IsLoop(
    AstInterface& __fa,
    AstNodePtr const& __fc,
    AstNodePtr* __init = 0,
    AstNodePtr* __cond = 0,
    AstNodePtr* __incr = 0,
    AstNodePtr* __body = 0) const = 0;

Return Value

Whether the AST __fc is a loop

Parameters

Name

Description

__fa

AST Interface to access __fc.

__fc

AST node to parse.

__init

Returns node holding initial statement, if possible.

__cond

Returns node holding conditional statement, if possible.

__incr

Returns node holding incremental statement, if possible.

__body

Returns node holding loop body, if possible.

Created with MrDocs