| 622 | } |
| 623 | |
| 624 | static unsigned parse_nsw_nuw() { |
| 625 | unsigned flags = BinOp::None; |
| 626 | while (true) { |
| 627 | if (tokenizer.consumeIf(NSW)) { |
| 628 | flags |= BinOp::NSW; |
| 629 | } else if (tokenizer.consumeIf(NUW)) { |
| 630 | flags |= BinOp::NUW; |
| 631 | } else { |
| 632 | break; |
| 633 | } |
| 634 | } |
| 635 | return flags; |
| 636 | } |
| 637 | |
| 638 | static unsigned parse_exact() { |
| 639 | if (tokenizer.consumeIf(EXACT)) |
no test coverage detected