Skip to content

SageInterface::ensureBasicBlockAsBodyOfSwitch

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

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
SgBasicBlock*
ensureBasicBlockAsBodyOfSwitch(SgSwitchStatement* 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 the concept of a switch.

Created with MrDocs