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

Method isIntegral

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

Source from the content-addressed store, hash-verified

211 self.typeScope = IdMap[self.typeScopeId]
212
213 def isIntegral(self):
214 return self.type in {'bool', 'char', 'short', 'int', 'long', 'long long'}
215
216 def isFloat(self):
217 return self.type in {'float', 'double', 'long double'}

Callers 15

arithmeticMethod · 0.80
getDimensionsEtcFunction · 0.80
pointerArithmeticMethod · 0.80
checkIntegerOverflowMethod · 0.80
ArgumentInfoMethod · 0.80
setTokenValueFunction · 0.80
setParentExprIdFunction · 0.80
setValueTypeMethod · 0.80
setAutoTokenPropertiesFunction · 0.80
parsedeclFunction · 0.80

Calls

no outgoing calls

Tested by 2

VariableValueType1Method · 0.64
VariableValueType2Method · 0.64