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

Function report

addons/namingng.py:207–208  ·  view source on GitHub ↗
(directive,msg,errorId,severity='style',column=0)

Source from the content-addressed store, hash-verified

205 max_linenr = conf.include_guard.get('max_linenr', 5)
206
207 def report(directive,msg,errorId,severity='style',column=0):
208 reportNamingError(directive,msg,errorId,severity=severity,column=column)
209
210 def report_pending_ifndef(directive,column):
211 report(directive,'include guard #ifndef is not followed by #define','includeGuardIncomplete',column=column)

Callers 2

report_pending_ifndefFunction · 0.70
check_include_guardsFunction · 0.70

Calls 1

reportNamingErrorFunction · 0.85

Tested by

no test coverage detected