Skip to content

SageInterface::ensureBasicBlockAsBodyOfCaseOption

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

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

SgBasicBlock*
ensureBasicBlockAsBodyOfCaseOption(SgCaseOptionStmt* 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 and C++ case option (used within a switch statement).

Created with MrDocs