| 5451 | , opt(co) {} |
| 5452 | |
| 5453 | void log_contexts() { |
| 5454 | int num_contexts = get_num_active_contexts(); |
| 5455 | if(num_contexts) { |
| 5456 | auto contexts = get_active_contexts(); |
| 5457 | std::stringstream ss; |
| 5458 | for(int i = 0; i < num_contexts; ++i) { |
| 5459 | contexts[i]->stringify(&ss); |
| 5460 | xml.scopedElement("Info").writeText(ss.str()); |
| 5461 | ss.str(""); |
| 5462 | } |
| 5463 | } |
| 5464 | } |
| 5465 | |
| 5466 | unsigned line(unsigned l) const { return opt.no_line_numbers ? 0 : l; } |
| 5467 |
nothing calls this directly
no test coverage detected