Skip to content

SageInterface::ensureBasicBlockAsFalseBodyOfIf

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

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
SgBasicBlock*
ensureBasicBlockAsFalseBodyOfIf(
    SgIfStmt* ifs,
    bool createEmptyBody = true);

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