SageInterface::findEnclosingLoop
Find the closest loop outside the given statement; if fortranLabel is not empty, the Fortran label of the loop must be equal to it
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility]]
SgScopeStatement*
findEnclosingLoop(
SgStatement* s,
std::string const& fortranLabel = "",
bool stopOnSwitches = false);
Return Value
This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.).
Parameters
Name |
Description |
s |
This class represents the notion of a statement. |
Created with MrDocs