MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / isEnumType

Function isEnumType

lib/symboldatabase.h:642–644  ·  view source on GitHub ↗

* Determine whether it's an enumeration type * @return true if the type is known and it's an enumeration type */

Source from the content-addressed store, hash-verified

640 * @return true if the type is known and it's an enumeration type
641 */
642 bool isEnumType() const {
643 return type() && type()->isEnumType();
644 }
645
646 bool isMaybeUnused() const {
647 return getFlag(fIsMaybeUnused);

Callers

nothing calls this directly

Calls 2

isEnumTypeMethod · 0.80
typeFunction · 0.70

Tested by

no test coverage detected