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-11-20 15:09:57 +01:00
2011-10-13 20:53:06 +02:00
2011-11-19 15:14:45 +01:00
2011-11-20 14:24:27 +01:00
2011-11-18 20:07:42 +01:00
2011-11-20 15:59:37 +01:00
2011-10-13 20:53:06 +02:00
2011-11-20 15:59:37 +01:00
2011-10-23 13:07:43 +02:00
2011-11-20 16:50:41 +01:00
2011-11-22 21:14:14 +01:00
2011-11-23 21:28:08 +01:00
2011-11-02 17:12:46 +01:00
2011-11-13 13:10:59 +01:00
2011-10-13 20:53:06 +02:00
2011-11-07 00:54:00 +01:00
2011-10-29 12:22:26 +02:00
2011-11-22 19:54:15 +01:00
2011-10-13 20:53:06 +02:00
2011-10-22 12:31:47 +02:00
2011-10-22 11:54:52 +02:00
2011-11-23 21:27:15 +01:00
2011-10-13 20:53:06 +02:00
2011-11-20 15:59:37 +01:00
2011-10-13 20:53:06 +02:00
2011-11-23 21:39:03 +01:00
2011-11-23 21:39:03 +01:00
2011-11-12 22:33:03 +01:00
2011-10-13 20:53:06 +02:00
2011-11-20 19:26:07 +01:00
2011-11-20 19:26:07 +01:00
2011-11-20 15:19:56 +01:00
2011-10-13 20:53:06 +02:00
2011-11-20 15:59:37 +01:00
2011-10-13 20:53:06 +02:00
2011-11-20 14:24:27 +01:00
2011-10-13 20:53:06 +02:00
2011-11-21 19:12:54 +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-20 14:24:27 +01:00
2011-10-22 15:05:43 +02:00
2011-10-28 22:46:07 +02:00
2011-11-08 21:56:54 +01:00
2011-10-13 20:53:06 +02:00
2011-10-20 09:01:58 +02:00
2011-10-13 20:53:06 +02:00
2011-10-19 15:14:39 +02:00
2011-11-17 19:19:43 +01:00
2011-10-30 19:00:11 +01:00
2011-11-15 19:27:36 +01:00
2011-11-15 19:27:36 +01:00
2011-10-31 15:12:29 +01:00
2011-10-13 20:53:06 +02:00
2011-10-13 20:53:06 +02:00
2011-11-20 14:24:27 +01:00
2011-11-22 21:14:14 +01:00
2011-10-13 20:53:06 +02:00
2011-10-13 20:53:06 +02:00
2011-11-22 21:14:14 +01:00
2011-11-22 21:14:14 +01:00
2011-11-21 21:18:56 +01:00
2011-11-20 19:06:55 +01:00