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

Method isFloat

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

Source from the content-addressed store, hash-verified

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'}
218
219 def isEnum(self):
220 return self.typeScope and self.typeScope.type == "Enum"

Callers 3

getEssentialTypeFunction · 0.45
misra_14_1Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected