| 1092 | if (IsBinaryAssociativeCommutative(*call)) { |
| 1093 | struct { |
| 1094 | int Priority(const Expression& operand) const { |
| 1095 | // order literals first, starting with nulls |
| 1096 | if (operand.IsNullLiteral()) return 0; |
| 1097 | if (operand.literal()) return 1; |
| 1098 | return 2; |
| 1099 | } |
| 1100 | bool operator()(const Expression& l, const Expression& r) const { |
| 1101 | return Priority(l) < Priority(r); |
| 1102 | } |
no test coverage detected