Skip to content

SageInterface::isBodyStatement

Check if a statement is a (true or false) body of a container‐like parent, such as For, Do‐while, switch, If, Catch, OmpBodyStmt, etc

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

bool
isBodyStatement(SgStatement* s);

Parameters

Name

Description

s

This class represents the notion of a statement.

Created with MrDocs