Module Enum
Provides classes representing C/C++ enums and enum constants.
Import path
import semmle.code.cpp.EnumImports
| Type | Provides a hierarchy of classes for modeling C/C++ types. |
Classes
| Enum | A C/C++ enum [N4140 7.2]. For example, the types |
| EnumConstant | A C/C++ enumerator [N4140 7.2], also known as an enumeration constant. |
| LocalEnum | A C/C++ enum that is directly enclosed by a function. For example, the type |
| NestedEnum | A C/C++ enum that is declared within a class/struct. For example, the type |
| ScopedEnum | A C++ scoped enum, that is, an enum whose constants must be qualified with the name of the enum. For example, the type |