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

Function check_gpp_naming

addons/namingng.py:338–344  ·  view source on GitHub ↗
(conf_list,cfg,access,message)

Source from the content-addressed store, hash-verified

336
337# Naming check for Global, Private and Public member variables
338def check_gpp_naming(conf_list,cfg,access,message):
339 for var in cfg.variables:
340 if var.access != access:
341 continue
342 mockToken = DataStruct(var.typeStartToken.file, var.typeStartToken.linenr, var.nameToken.str, var.nameToken.column)
343 for exp in conf_list:
344 evalExpr(conf_list, exp, mockToken, message)
345
346def check_function_naming(conf,cfg,debugprint):
347 for token in cfg.tokenlist:

Callers 1

process_dataFunction · 0.85

Calls 2

DataStructClass · 0.85
evalExprFunction · 0.85

Tested by

no test coverage detected