| 3366 | } |
| 3367 | |
| 3368 | static bool isBreakOrContinueScope(const Token* endToken) |
| 3369 | { |
| 3370 | if (!Token::simpleMatch(endToken, "}")) |
| 3371 | return false; |
| 3372 | return Token::Match(endToken->tokAt(-2), "break|continue ;"); |
| 3373 | } |
| 3374 | |
| 3375 | static const Scope* getLoopScope(const Token* tok) |
| 3376 | { |
no test coverage detected