Print this page
12724 update smatch to 0.6.1-rc1-il-5

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/smatch/src/smatch_comparison.c
          +++ new/usr/src/tools/smatch/src/smatch_comparison.c
↓ open down ↓ 2740 lines elided ↑ open up ↑
2741 2741          if (is_true)
2742 2742                  add_ptr_list(true_stack, sm);
2743 2743          if (is_false)
2744 2744                  add_ptr_list(false_stack, sm);
2745 2745  split:
2746 2746          filter_by_sm(sm->left, op, true_stack, false_stack, useful);
2747 2747          filter_by_sm(sm->right, op, true_stack, false_stack, useful);
2748 2748  }
2749 2749  
2750 2750  struct sm_state *comparison_implication_hook(struct expression *expr,
2751      -                                struct state_list **true_stack,
2752      -                                struct state_list **false_stack)
     2751 +                                             struct state_list **true_stack,
     2752 +                                             struct state_list **false_stack)
2753 2753  {
2754 2754          struct sm_state *sm;
2755 2755          char *left, *right;
2756 2756          int op;
2757 2757          static char buf[256];
2758 2758          bool useful = false;
2759 2759  
2760 2760          if (expr->type != EXPR_COMPARE)
2761 2761                  return NULL;
2762 2762  
↓ open down ↓ 34 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX