| 5549 | } |
| 5550 | |
| 5551 | void parser:: |
| 5552 | parse_switch (token& t, type& tt) |
| 5553 | { |
| 5554 | auto g = make_guard ([this, old = condition_] () mutable |
| 5555 | { |
| 5556 | condition_ = old; |
| 5557 | }); |
| 5558 | condition_ = get_location (t); |
| 5559 | |
| 5560 | parse_switch (t, tt, |
| 5561 | false /* multi */, |
| 5562 | [this] (token& t, type& tt, bool s, const string& k) |
| 5563 | { |
| 5564 | return parse_clause_block ( |
| 5565 | t, tt, true /* allow_loop_control */, s, k); |
| 5566 | }, |
| 5567 | {}); |
| 5568 | } |
| 5569 | |
| 5570 | void parser:: |
| 5571 | parse_switch (token& t, type& tt, |
nothing calls this directly
no test coverage detected