Skip to content

SageInterface::ensureBasicBlockAsBodyOfWhile

Check if the body of a 'while' statement is a SgBasicBlock, create one if not.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility("default")]]
SgBasicBlock*
ensureBasicBlockAsBodyOfWhile(SgWhileStmt* ws);

Return Value

This class represents the concept of a block (not a basic block from control flow analysis).

Parameters

Name Description
ws This class represents a while statement.

Created with MrDocs