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

Method isMisra94Compliant

addons/misra_9.py:208–209  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

206 return True
207
208 def isMisra94Compliant(self):
209 return self.numInits <= 1 and all([child.isMisra94Compliant() for child in self.children])
210
211 def isMisra95Compliant(self):
212 return not self.isFlexible or all([not child.isDesignated for child in self.children])

Callers 1

misra_9_xFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected