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

Function c_cpp_family

src/pipeline/registry.c:775–777  ·  view source on GitHub ↗

C and C++ are one family for cross-language checks: .h maps to CBM_LANG_CPP * in the extension table, so a .c file referencing a symbol declared in its * own header would otherwise read as a language boundary. */

Source from the content-addressed store, hash-verified

773 * in the extension table, so a .c file referencing a symbol declared in its
774 * own header would otherwise read as a language boundary. */
775static bool c_cpp_family(CBMLanguage lang) {
776 return lang == CBM_LANG_C || lang == CBM_LANG_CPP;
777}
778
779/* ── Cross-language resolution compatibility ─────────────────────────
780 * A name-based registry guess (qualified_suffix / unique_name / suffix_match)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected