Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
223
class
Token:
Callers
10
matchParameter
Method · 0.80
hasBorrowingVariables
Function · 0.80
clarifyCalculation
Method · 0.80
valueFlowSetConstantValue
Function · 0.80
isExhaustiveSwitch
Function · 0.80
enum19
Method · 0.80
enum20
Method · 0.80
misra_11_4
Method · 0.80
misra_11_7
Method · 0.80
misra_21_16
Method · 0.80
Calls
no outgoing calls
Tested by
2
enum19
Method · 0.64
enum20
Method · 0.64