Skip to content

SageInterface::getLoopCondition

Routines to get the condition of a loop. It recognize While-loop, For-loop, and Do-While-loop

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility("default")]]
SgStatement*
getLoopCondition(SgScopeStatement* loop);

Return Value

This class represents the notion of a statement.

Parameters

Name Description
loop This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.).

Created with MrDocs