A doc comment was lost because memory ran out. For a language whose doc * comments are read for links, the doc-link layer must not then report a * complete graph (CBMDocLinkArray.failed). */
| 1933 | * comments are read for links, the doc-link layer must not then report a |
| 1934 | * complete graph (CBMDocLinkArray.failed). */ |
| 1935 | static void doc_lost(CBMExtractCtx *ctx) { |
| 1936 | if (ctx->result && cbm_doclink_lang_supported(ctx->language)) { |
| 1937 | ctx->result->doc_links.failed = true; |
| 1938 | } |
| 1939 | } |
| 1940 | |
| 1941 | /* Leading trivia of `anchor`, in source order. */ |
| 1942 | static void doc_collect_trivia(CBMExtractCtx *ctx, TSNode anchor, doc_trivia_t *t) { |
no test coverage detected