| 369 | } |
| 370 | |
| 371 | bool |
| 372 | FunctionInvocation::has_uncertain_call(void) const |
| 373 | { |
| 374 | // if there are more than two function calls in two separate parameters, |
| 375 | // we judge both calls as uncertain because the evaluation order can be |
| 376 | // either left-to-right or right-to-left |
| 377 | int has_func_param_cnt = 0; |
| 378 | size_t i; |
| 379 | for (i=0; i<param_value.size(); i++) { |
| 380 | if (param_value[i]->func_count() > 0) { |
| 381 | has_func_param_cnt++; |
| 382 | } |
| 383 | } |
| 384 | return has_func_param_cnt >= 2; |
| 385 | } |
| 386 | |
| 387 | bool |
| 388 | FunctionInvocation::has_uncertain_call_recursive(void) const |
nothing calls this directly
no test coverage detected