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