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

Function get_function_scope

addons/misra.py:872–877  ·  view source on GitHub ↗
(cfg, func)

Source from the content-addressed store, hash-verified

870
871
872def get_function_scope(cfg, func):
873 if func:
874 for scope in cfg.scopes:
875 if scope.function == func:
876 return scope
877 return None
878
879
880def is_variable_changed(start_token, end_token, var):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected