Skip to content

SageBuilder::buildBinaryConditionalExp

Build the GNU omitted‐middle conditional common ?: false_expression. The common operand is represented once and therefore evaluated once.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
SgConditionalExp*
buildBinaryConditionalExp(
    SgExpression* common,
    SgExpression* false_expression,
    SgType* result_type);

Return Value

This class represents the concept of a C trinary conditional expression (e.g. "test ? true : false")

Parameters

Name

Description

common

This class represents the notion of an expression. Expressions

false_expression

This class represents the notion of an expression. Expressions

result_type

This class represents the base class for all types.

Created with MrDocs