Skip to content

SageBuilder::buildTransformationCastExp

Build a source‐emitting transformation cast whose semantics are completely determined by its exact operand and result types. Ambiguous conversions are rejected instead of being assigned a guessed conversion kind.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
SgCastExp*
buildTransformationCastExp(
    SgExpression* operand_i,
    SgType* expression_type,
    SgCastExp::cast_type_enum cast_type);

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