bors a96f874301 Auto merge of #5345 - Toxyxer:add-lint-for-float-in-array-comparison, r=flip1995
Add lint for float in array comparison

Fixes #4277
changelog:
- Added new handler for expression of index kind (e.g. `arr[i]`). It returns a constant when both array and index are constant, or when the array is constant and all values are equal.
- Trigger float_cmp and float_cmp_const lint when comparing arrays. Allow for comparison when one of the arrays contains only zeros or infinities.
- Added appropriate tests for such cases.
2020-04-15 06:39:11 +00:00
..
2020-03-04 00:56:43 +01:00
2020-04-09 08:08:36 +02:00
2020-03-03 18:06:59 -08:00
2020-02-23 22:36:15 -08:00
2020-02-23 22:36:15 -08:00
2020-04-01 12:15:39 -07:00
2020-04-01 20:14:05 +02:00
2020-03-03 10:48:08 +01:00
2020-03-04 17:37:01 +09:00
2020-03-04 17:37:01 +09:00
2020-03-04 17:37:01 +09:00
2020-03-20 22:52:53 +00:00
2020-04-08 08:37:20 -07:00
2020-03-31 16:13:51 +05:30
2020-03-04 00:56:43 +01:00
2020-03-04 00:56:43 +01:00
2020-04-02 18:31:31 -07:00
2020-04-01 20:12:36 +02:00
2020-04-01 20:12:36 +02:00
2020-03-29 22:22:36 +02:00
2020-03-11 06:35:07 +09:00
2020-03-10 18:00:37 -04:00
2020-03-10 18:00:37 -04:00
2020-03-23 16:45:31 +00:00