ΒΆlong long clang_getEnumConstantDeclValue(
    CXCursor C)

Description

Retrieve the integer value of an enum constant declaration as a signed long long. If the cursor does not reference an enum constant declaration, LLONG_MIN is returned. Since this is also potentially a valid constant value, the kind of the cursor must be verified before calling this function.

Declared at: clang/include/clang-c/Index.h:3535

Parameters

CXCursor C