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

Function parseWarnings

__tests__/cpp-declaration-only-headers.test.ts:133–134  ·  view source on GitHub ↗
(filePath: string, source: string)

Source from the content-addressed store, hash-verified

131
132describe('extracting a declaration-only C++ .h (#3397)', () => {
133 const parseWarnings = (filePath: string, source: string) =>
134 extractFromSource(filePath, source).errors.filter((e) => e.code === 'parse_error');
135
136 it('parses the issue headers cleanly and extracts their extern variables', () => {
137 const result = extractFromSource('src/PdbDiaSession.h', PDB_DIA_SESSION);

Calls 1

extractFromSourceFunction · 0.90

Tested by

no test coverage detected