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

Function blankCppInlineMacros

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

Source from the content-addressed store, hash-verified

1149 'g'
1150);
1151export function blankCppInlineMacros(source: string): string {
1152 if (!CPP_INLINE_MACROS.some((m) => source.indexOf(m) !== -1)) return source;
1153 return source.replace(CPP_INLINE_MACRO_RE, (m) => ' '.repeat(m.length));
1154}
1155
1156// Bare C/C++ type/qualifier tokens that must never be taken as a recovered
1157// 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