| 2046 | } |
| 2047 | |
| 2048 | static bool doc_span_kept(const char *src, const doc_span_t *sp, bool go_directives) { |
| 2049 | return sp->kind == DOC_SPAN_COMMENT && !(go_directives && doc_go_is_directive(src, sp)); |
| 2050 | } |
| 2051 | |
| 2052 | /* Text of items[first..last]: one comment keeps its exact bytes; several are |
| 2053 | * joined by newlines, each without its own trailing newline. NULL when nothing |
no test coverage detected