1 parent 9df7881 commit caabbbaCopy full SHA for caabbba
1 file changed
lib/valueflow.cpp
@@ -4363,7 +4363,7 @@ static bool isUnconditionalBreakScope(const Token* const endToken)
4363
return false;
4364
if (!Token::simpleMatch(endToken->link(), "{"))
4365
4366
- if (!Token::Match(endToken->tokAt(-2), "break ;") || !Token::Match(endToken->tokAt(-3), "{|}|;"))
+ if (!Token::simpleMatch(endToken->tokAt(-2), "break ;") || !Token::Match(endToken->tokAt(-3), "{|}|;"))
4367
4368
return !Token::findmatch(endToken->link(), "continue|goto", endToken);
4369
}
0 commit comments