Fix Token::findExpressionStartEndTokens() regression
This commit is contained in:
parent
8da4e31c42
commit
a26287f491
|
@ -1191,8 +1191,9 @@ std::pair<const Token *, const Token *> Token::findExpressionStartEndTokens() co
|
|||
end = lambdaEnd;
|
||||
break;
|
||||
}
|
||||
} else if (Token::Match(end,"(|[") &&
|
||||
!(Token::Match(end, "( %type%") && !end->astOperand2())) {
|
||||
}
|
||||
if (Token::Match(end,"(|[") &&
|
||||
!(Token::Match(end, "( %type%") && !end->astOperand2())) {
|
||||
end = end->link();
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue