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

Function is_param_name

src/semantic/ast_profile.c:129–140  ·  view source on GitHub ↗

Check if an identifier matches any parameter name. */

Source from the content-addressed store, hash-verified

127
128/* Check if an identifier matches any parameter name. */
129static bool is_param_name(const char *ident, const char *source, const char **param_names,
130 int param_count) {
131 if (!ident || !source || !param_names || param_count == 0) {
132 return false;
133 }
134 for (int i = 0; i < param_count; i++) {
135 if (param_names[i] && strcmp(ident, param_names[i]) == 0) {
136 return true;
137 }
138 }
139 return false;
140}
141
142/* ── Main computation ────────────────────────────────────────────── */
143

Callers 1

accumulate_data_flowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected