(context: ResolutionContext)
| 54 | * and U+2029 end a line in one and not the other). |
| 55 | */ |
| 56 | export function cppNamespaceAliasWalk(context: ResolutionContext): { add(file: string, source: string): void; finish(): void } | null { |
| 57 | if (CPP_NS_ALIASES.has(context)) return null; |
| 58 | const aliases = new Map<string, string>(); |
| 59 | return { |
| 60 | add: (file, source) => addNamespaceAliases(file, source, aliases), |
| 61 | finish: () => { CPP_NS_ALIASES.set(context, aliases); }, |
| 62 | }; |
| 63 | } |
| 64 | |
| 65 | /** |
| 66 | * The project's namespace-opening macros — `#define FMT_BEGIN_NAMESPACE |
no test coverage detected