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

Method misra_13_5

addons/misra.py:3042–3045  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

3040 self.reportError(token, 13, 4)
3041
3042 def misra_13_5(self, data):
3043 for token in data.tokenlist:
3044 if token.isLogicalOp and countSideEffectsRecursive(token.astOperand2) > 0:
3045 self.reportError(token, 13, 5)
3046
3047 def misra_13_6(self, data):
3048 for token in data.tokenlist:

Callers

nothing calls this directly

Calls 2

reportErrorMethod · 0.95

Tested by

no test coverage detected