| 3723 | } |
| 3724 | |
| 3725 | bool Type::isEnumType() const |
| 3726 | { |
| 3727 | //We explicitly check for "enum" because a forward declared enum doesn't get its own scope |
| 3728 | return (classDef && classDef->str() == "enum") || |
| 3729 | (classScope && classScope->type == ScopeType::eEnum); |
| 3730 | } |
| 3731 | |
| 3732 | bool Type::isStructType() const |
| 3733 | { |