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

Function check_class_naming

addons/namingng.py:368–375  ·  view source on GitHub ↗
(conf,cfg)

Source from the content-addressed store, hash-verified

366 evalExpr(conf.function_name, exp, mockToken, msgType)
367
368def check_class_naming(conf,cfg):
369 for fnc in cfg.functions:
370 if fnc.type not in ('Constructor','Destructor'):
371 continue
372 mockToken = DataStruct(fnc.tokenDef.file, fnc.tokenDef.linenr, fnc.name, fnc.tokenDef.column)
373 msgType = 'Class ' + fnc.type
374 for exp in conf.class_name:
375 evalExpr(conf.class_name, exp, mockToken, msgType)
376
377def process_data(conf,data,cli,debugprint):
378 if conf.file:

Callers 1

process_dataFunction · 0.85

Calls 2

DataStructClass · 0.85
evalExprFunction · 0.85

Tested by

no test coverage detected