Skip to content

SageInterface::ensureBasicBlockAsTrueBodyOfIf

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

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
SgBasicBlock*
ensureBasicBlockAsTrueBodyOfIf(SgIfStmt* ifs);

Return Value

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

Parameters

Name

Description

ifs

This class represents the concept of an "if" construct.

Created with MrDocs