mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 09:25:31 +02:00
PR: 307066 - fixed throw e cases
This commit is contained in:
parent
47c9b5205a
commit
9f723276c7
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ public class StatementHasNoEffectChecker extends AbstractIndexAstChecker {
|
|||
case IASTUnaryExpression.op_prefixDecr:
|
||||
case IASTUnaryExpression.op_postFixIncr:
|
||||
case IASTUnaryExpression.op_prefixIncr:
|
||||
case IASTUnaryExpression.op_throw:
|
||||
return false;
|
||||
case IASTUnaryExpression.op_bracketedPrimary:
|
||||
return hasNoEffect(unaryExpr.getOperand());
|
||||
|
|
Loading…
Add table
Reference in a new issue