Skip to content

SageInterface::isStrictIntegerType

Check if a type is an integral type, only allowing signed/unsigned short, int, long, long long./!/! There is another similar function named SgType::isIntegerType(), which allows additional types char, wchar, and bool to be treated as integer types

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
bool
isStrictIntegerType(SgType* t);

Description

Check if a type is an integral type, only allowing signed/unsigned short, int, long, long long.

There is another similar function named SgType::isIntegerType(), which allows additional types char, wchar, and bool.

Parameters

Name

Description

t

This class represents the base class for all types.

Created with MrDocs