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

Function clearCppMacroVisibility

src/resolution/cpp-macro-visibility.ts:63–65  ·  view source on GitHub ↗
(context: ResolutionContext)

Source from the content-addressed store, hash-verified

61const not = (a: Truth): Truth => (a === undefined ? undefined : !a);
62
63export function clearCppMacroVisibility(context: ResolutionContext): void {
64 memo.delete(context);
65}
66
67const isDefine = (n: { kind: string; signature?: string }): boolean =>
68 n.kind === 'constant' && CPP_DEFINE_SIGNATURE.test(n.signature ?? '');

Callers 1

clearCachesMethod · 0.90

Calls 1

deleteMethod · 0.65

Tested by

no test coverage detected