(source: string)
| 375 | 'g' |
| 376 | ); |
| 377 | export 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, |
no outgoing calls
no test coverage detected