Skip to content

SageInterface::ensureBasicBlockAsBodyOfDefaultOption

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

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

SgBasicBlock*
ensureBasicBlockAsBodyOfDefaultOption(SgDefaultOptionStmt* cs);

Return Value

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

Parameters

Name

Description

cs

This class represents the concept of a C or C++ default case within a switch

Created with MrDocs