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

Method isMisra95Compliant

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

Source from the content-addressed store, hash-verified

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])
213
214# Parses the initializers and update the ElementDefs status accordingly
215class InitializerParser:

Callers 1

misra_9_xFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected