Paul Fultz II 9895ea5ff2 Fix issue 470: Condition is always true or false on logical operators (#1294)
* Fix issue 470: Condition is always true or false on logical operators

* Dont warn on literals

* Compute logical operators using valueflow

* Fix FP when using literals

* Always warn on subconditions that are always true

* Use percent matches first

* Add test for logical operators

* Check if parent is null
2018-07-23 08:51:59 +02:00
..
2017-06-05 13:23:00 +02:00
2018-01-14 15:37:52 +01:00
2018-01-14 15:37:52 +01:00
2018-01-14 15:37:52 +01:00
2018-05-15 16:37:40 +02:00
2018-05-15 16:37:40 +02:00
2018-07-15 23:05:48 +02:00
2018-05-15 16:37:40 +02:00
2018-05-15 16:37:40 +02:00
2018-01-14 15:37:52 +01:00
2018-05-31 07:02:08 +02:00
2018-05-15 16:37:40 +02:00
2018-05-15 16:37:40 +02:00
2018-06-16 22:28:14 +02:00