Skip to content

SageInterface::getConditionValue

Return the converted predicate of IF, WHILE, FOR, or SWITCH; null only for consteval IF or an absent FOR condition. Declaration conditions own a separate predicate evaluated after their initializer.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

SgExpression*
getConditionValue(SgScopeStatement* stmt);

Return Value

This class represents the notion of an expression. Expressions

Parameters

Name Description
stmt This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.).

Created with MrDocs