| 442 | } |
| 443 | |
| 444 | void DeleteLogicExpSubTree(LogicExp* exp) { |
| 445 | if (exp) { |
| 446 | DeleteLogicExpSubTree(exp->subexp); |
| 447 | DeleteLogicExpSubTree(exp->next); |
| 448 | exp->op1.clear(); |
| 449 | exp->op2.clear(); |
| 450 | delete exp; |
| 451 | } |
| 452 | } |
| 453 | |
| 454 | void DeleteLogicExpTree(LogicExp* exp) { |
| 455 | if (exp) { |
no test coverage detected