| 2336 | , opt(co) {} |
| 2337 | |
| 2338 | void log_contexts() { |
| 2339 | int num_contexts = get_num_active_contexts(); |
| 2340 | if(num_contexts) { |
| 2341 | auto contexts = get_active_contexts(); |
| 2342 | std::stringstream ss; |
| 2343 | for(int i = 0; i < num_contexts; ++i) { |
| 2344 | contexts[i]->stringify(&ss); |
| 2345 | xml.scopedElement("Info").writeText(ss.str()); |
| 2346 | ss.str(""); |
| 2347 | } |
| 2348 | } |
| 2349 | } |
| 2350 | |
| 2351 | unsigned line(unsigned l) const { return opt.no_line_numbers ? 0 : l; } |
| 2352 |
nothing calls this directly
no test coverage detected