Member predicate ReturnStmt::hasExpr
Holds if this ‘return’ statement has an expression.
For example, this holds for
return 1+2;
but not for
return;
predicate hasExpr()
Holds if this ‘return’ statement has an expression.
For example, this holds for
return 1+2;
but not for
return;
predicate hasExpr()