MCPcopy
hub / github.com/colbymchenry/codegraph / blankCppInlineMacros

Function blankCppInlineMacros

src/extraction/languages/c-cpp.ts:320–323  ·  view source on GitHub ↗
(source: string)

Source from the content-addressed store, hash-verified

318 'g'
319);
320export function blankCppInlineMacros(source: string): string {
321 if (!CPP_INLINE_MACROS.some((m) => source.indexOf(m) !== -1)) return source;
322 return source.replace(CPP_INLINE_MACRO_RE, (m) => ' '.repeat(m.length));
323}
324
325// Bare C/C++ type/qualifier tokens that must never be taken as a recovered
326// function name (guards `recoverMangledCppName` against the `Ret (name)` idiom,

Callers 2

extraction.test.tsFile · 0.90
preParseCppSourceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected