(expr)
| 817 | return True |
| 818 | |
| 819 | def is_constant_integer_expression(expr): |
| 820 | if expr is None: |
| 821 | return False |
| 822 | if expr.isInt: |
| 823 | return True |
| 824 | if not expr.isArithmeticalOp: |
| 825 | return False |
| 826 | if expr.astOperand1 and not is_constant_integer_expression(expr.astOperand1): |
| 827 | return False |
| 828 | if expr.astOperand2 and not is_constant_integer_expression(expr.astOperand2): |
| 829 | return False |
| 830 | return True |
| 831 | |
| 832 | def isFunctionCall(expr, std='c99'): |
| 833 | if not expr: |
no outgoing calls
no test coverage detected