ExprEngine: Return instead of Throw to continue analysis more

This commit is contained in:
Daniel Marjamäki 2020-05-23 11:43:30 +02:00
parent e5a3dc1a0c
commit 820a9c29c1
1 changed files with 1 additions and 1 deletions

View File

@ -1791,7 +1791,7 @@ static void execute(const Token *start, const Token *end, Data &data, int recurs
{
if (++recursion > 20)
// FIXME
throw VerifyException(start, "ExprEngine: Max recursion limit exceeded");
return;
for (const Token *tok = start; tok != end; tok = tok->next()) {
if (Token::Match(tok, "[;{}]"))