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

Method isEssentiallySignedOrUnsigned

addons/misra.py:2421–2423  ·  view source on GitHub ↗
(op)

Source from the content-addressed store, hash-verified

2419
2420 def misra_10_2(self, data):
2421 def isEssentiallySignedOrUnsigned(op):
2422 e = getEssentialType(op)
2423 return e and (e.split(' ')[0] in ('unsigned', 'signed'))
2424
2425 def isEssentiallyChar(op):
2426 if op is None:

Callers

nothing calls this directly

Calls 1

getEssentialTypeFunction · 0.85

Tested by

no test coverage detected