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

Method misra_21_11

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

Source from the content-addressed store, hash-verified

4002 self.reportError(token, 21, 10)
4003
4004 def misra_21_11(self, data):
4005 directive = findInclude(data.directives, '<tgmath.h>')
4006 if directive:
4007 self.reportError(directive, 21, 11)
4008
4009 def misra_21_12(self, data):
4010 if findInclude(data.directives, '<fenv.h>'):

Callers

nothing calls this directly

Calls 2

reportErrorMethod · 0.95
findIncludeFunction · 0.85

Tested by

no test coverage detected