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

Method markStuctureViolation

addons/misra_9.py:163–167  ·  view source on GitHub ↗
(self, token)

Source from the content-addressed store, hash-verified

161 child.unset()
162
163 def markStuctureViolation(self, token):
164 if self.name == '->':
165 self.children[0].markStuctureViolation(token)
166 elif not self.structureViolationToken:
167 self.structureViolationToken = token
168
169 def markAsFlexibleArray(self, token):
170 self.flexibleToken = token

Callers 2

parseInitializerMethod · 0.80
getElementByDesignatorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected