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

Method isEnum

addons/cppcheckdata.py:219–220  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

217 return self.type in {'float', 'double', 'long double'}
218
219 def isEnum(self):
220 return self.typeScope and self.typeScope.type == "Enum"
221
222
223class Token:

Callers 10

matchParameterMethod · 0.80
hasBorrowingVariablesFunction · 0.80
clarifyCalculationMethod · 0.80
isExhaustiveSwitchFunction · 0.80
enum19Method · 0.80
enum20Method · 0.80
misra_11_4Method · 0.80
misra_11_7Method · 0.80
misra_21_16Method · 0.80

Calls

no outgoing calls

Tested by 2

enum19Method · 0.64
enum20Method · 0.64