Skip to content

SageBuilder::buildSizeOfOp

All overloads of SageBuilder::buildSizeOfOp

Build sizeof() expression with a type parameter

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility("default")]]
SgSizeOfOp*
buildSizeOfOp(
    SgType* type,
    SgType* expression_type,
    SgExpression::unary_type_trait_kind_enum operator_kind = SgExpression::e_sizeof,
    std::optional<Rose::Integer128Value> evaluated_value = std::nullopt);

Return Value

This class represents the "sizeof()" operator (applied to any type).

Parameters

Name Description
type This class represents the base class for all types.
expression_type This class represents the base class for all types.
operator_kind This class represents the base class of all the expressions within this grammar. It contains all the base functionality for the construction, manipulation, and unparsing support.
evaluated_value Class template for optional values.

Created with MrDocs