CodeQL library for C/C++
Search

Member predicate Enum::getEnumConstant

Gets the enumerator of this enumeration that was declared at the zero-based position index. For example, zero is at index 2 in the following declaration:

enum ReversedOrder {
  two = 2,
  one = 1,
  zero = 0
};
EnumConstant getEnumConstant(int index)