Skip to content

SageBuilder::buildCastExp

Build a type casting expression

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
SgCastExp*
buildCastExp(
    SgExpression* operand_i = NULL,
    SgType* expression_type = NULL,
    SgCastExp::cast_type_enum cast_type = SgCastExp::e_C_style_cast);

Return Value

This class represents a cast of one type to another.

Parameters

Name

Description

operand_i

This class represents the notion of an expression. Expressions

expression_type

This class represents the base class for all types.

cast_type

Classification of Casts

Created with MrDocs