Skip to content

SageBuilder::buildCastExp

buildCastExp overloads

Synopses

Declared in <SageIII/sageInterface/sageBuilder.h>

Concise operation-specific forms for transformation-authored C-style or explicitly selected source surfaces. These are overloads, not defaulted parameters; both operands remain mandatory and undergo exact classification.

[[visibility("default")]]
SgCastExp*
buildCastExp(
    SgExpression* operand_i,
    SgType* expression_type);

» more...

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

» more...

Build a fully checked type conversion. All semantic fields are mandatory.

[[visibility("default")]]
SgCastExp*
buildCastExp(
    SgExpression* operand_i,
    SgType* expression_type,
    SgCastExp::cast_type_enum cast_type,
    SgCastExp::semantic_conversion_kind_enum semantic_kind,
    SgCastExp::value_category_enum value_category,
    SgTypePtrList const& conversion_base_path,
    SgType* source_type);

» more...


Created with MrDocs