Skip to content

AstInterface::IsConstant

Check whether exp is a constant value of type int, float, string, etc.

Synopsis

Declared in <src/midend/astUtil/astInterface/AstInterface.h>

bool
IsConstant(
    AstNodePtr const& exp,
    std::string* valtype = 0,
    std::string* value = 0);

Created with MrDocs