Skip to content

SageInterface::ensureBasicBlockAsBodyOfFor

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

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
SgBasicBlock*
ensureBasicBlockAsBodyOfFor(SgForStatement* fs);

Return Value

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

Parameters

Name

Description

fs

This class represents the concept of a for loop.

Created with MrDocs