MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / func_is_static

Function func_is_static

internal/cbm/helpers.c:1936–1947  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1934}
1935
1936static bool func_is_static(TSNode func_node) {
1937 uint32_t n = ts_node_child_count(func_node);
1938 for (uint32_t i = 0; i < n; i++) {
1939 TSNode child = ts_node_child(func_node, i);
1940 if (strcmp(ts_node_type(child), "storage_class_specifier") == 0 &&
1941 ts_node_child_count(child) > 0 &&
1942 strcmp(ts_node_type(ts_node_child(child, 0)), "static") == 0) {
1943 return true;
1944 }
1945 }
1946 return false;
1947}
1948
1949const char *cbm_platform_neutral_qn(CBMArena *a, CBMLanguage lang, const char *project,
1950 const char *rel_path, const char *name, const char *qn,

Callers 1

cbm_platform_neutral_qnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected