MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / blankCppInlineMacros

Function blankCppInlineMacros

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

Source from the content-addressed store, hash-verified

375 'g'
376);
377export function blankCppInlineMacros(source: string): string {
378 if (!CPP_INLINE_MACROS.some((m) => source.indexOf(m) !== -1)) return source;
379 return source.replace(CPP_INLINE_MACRO_RE, (m) => ' '.repeat(m.length));
380}
381
382// Bare C/C++ type/qualifier tokens that must never be taken as a recovered
383// 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