MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / cpp-declaration-only-headers.test.ts

File cpp-declaration-only-headers.test.ts

__tests__/cpp-declaration-only-headers.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * A declaration-only C++ header — free function prototypes and `extern`
3 * variables, with no `class`, `namespace` or `template <…>` block — was
4 * detected as C (#3397). Its C++-only declaration syntax then broke the C

Callers

nothing calls this directly

Calls 15

initGrammarsFunction · 0.90
loadGrammarsForLanguagesFunction · 0.90
detectLanguageFunction · 0.90
findCppDeclarationSyntaxFunction · 0.90
extractFromSourceFunction · 0.90
describeFunction · 0.85
parseWarningsFunction · 0.85
fileLanguageFunction · 0.85
mapMethod · 0.80
crlfFunction · 0.70
getNodesInFileMethod · 0.65
joinMethod · 0.45

Tested by

no test coverage detected