Richard Quirk
d28cf42d4c
Fix ticket #3317 (same expression false positives)
...
Add a check for function calls that have no side effects. That means
known const methods and a list including strcmp, strlen, etc.
If the function is not known to be side effect-free then no style
warning is given.
Add test cases for the duplicate expressions.
2011-11-23 21:39:03 +01:00
..
2011-10-13 20:53:06 +02:00
2011-10-13 20:53:06 +02:00
2011-10-13 20:53:06 +02:00
2011-10-13 20:53:06 +02:00
2010-02-19 07:21:16 +01:00
2011-10-23 15:45:56 +02:00
2011-11-19 08:38:54 +01:00
2011-10-13 20:53:06 +02:00
2011-10-23 13:07:43 +02:00
2011-11-01 11:52:39 +01:00
2011-11-06 11:26:28 +01:00
2011-11-23 21:28:08 +01:00
2011-10-29 23:50:09 +02:00
2011-11-22 19:26:00 +01:00
2011-10-13 20:53:06 +02:00
2011-10-13 20:53:06 +02:00
2011-10-13 20:53:06 +02:00
2011-10-13 20:53:06 +02:00
2011-10-29 19:30:33 +02:00
2011-11-05 20:28:52 +01:00
2011-10-29 12:47:12 +02:00
2011-10-13 20:53:06 +02:00
2011-11-20 14:11:22 +01:00
2011-10-22 11:54:52 +02:00
2011-11-23 21:27:15 +01:00
2011-10-22 12:36:45 +02:00
2011-10-13 20:53:06 +02:00
2011-11-23 21:39:03 +01:00
2011-10-13 20:53:06 +02:00
2011-10-13 20:53:06 +02:00
2011-10-13 20:53:06 +02:00
2011-11-17 19:19:43 +01:00
2011-01-09 21:33:36 +02:00
2011-10-23 15:42:02 +02:00
2011-10-23 15:42:02 +02:00
2011-10-23 15:42:02 +02:00
2011-11-20 18:37:00 +01:00
2011-11-20 19:26:07 +01:00
2011-10-13 20:53:06 +02:00
2011-10-13 20:53:06 +02:00
2011-11-20 15:19:56 +01:00
2011-11-20 15:09:57 +01:00
2011-11-20 14:11:22 +01:00
2011-11-21 00:41:26 +02:00
2011-11-21 21:18:56 +01:00
2011-11-20 15:19:56 +01:00
2011-10-29 20:04:43 +02:00
2011-10-13 20:53:06 +02:00
2011-10-13 20:53:06 +02:00
2011-10-13 20:53:06 +02:00