Skip to content

SageInterface::getIntegerConstantValue

Get the constant value from a constant integer expression; abort on everything else. Note that signed long longs are converted to unsigned.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

unsigned long long
getIntegerConstantValue(SgValueExp* expr);

Parameters

Name

Description

expr

This class represents the notion of an value (expression value).

Created with MrDocs